← Amazon questions

Find minimum root to leaf height in binary tree

Filed under Amazon

Find the minimum depth (number of nodes along the shortest path from root to a leaf) of a binary tree using level-order traversal without storing level info in the queue.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.