Deepest Leaves Sum — Asked in Microsoft, Adobe and Expedia Interview

Problem Statement :

71 2 16 110 -1 -1 5 -1 -1 -1 -1
115

Approach :

Level Order Traversal

Code :

Thanks for Reading

Upskilling students for tech placements!