โ† Microsoft questions

Sum of Leaf Nodes at Minimum Depth

Filed under Microsoft

Find the sum of all leaf nodes located at the minimum depth of a binary tree, returning -1 if the root is null.

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 Microsoft questions

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