Pergunta de entrevista da empresa Cadence Design Systems

How to find the shortest path in a binary tree