Directions Between Nodes in a Fibonacci Tree

Given a Fibonacci tree and two nodes, return the path from the starting node to the destination. Use U to move to the parent, L to move to the left child, and R to move to the right child.

**Re...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: