Cadence Design Systems interview question

How to find the shortest path in a binary tree