Domanda di colloquio di Cadence Design Systems

How to find the shortest path in a binary tree