Find shortest path in a Fibonacci-ordered tree | Databricks Interview Question