← Microsoft questions

Sum of all nodes that have no child at minimum level

Filed under Microsoft

Find the sum of all leaf nodes located at the minimum depth in a binary tree. Return -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.