← Expedia questions

Path Between Two Nodes in Binary Tree

Filed under Expedia

Given a binary tree with unique node values, find the path between two nodes identified by their values. The path should be returned as a list of node values starting from the first node, traveling up…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Expedia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.