Find path in implicit Fibonacci tree | Databricks Interview Question