Wahi tree jo Clinic #09: Maximum Depth of Binary Tree mein dekha tha, par is baar sawaal alag hai: root se neeche kitna nahi, do sabse door dabbon ke beech kitna.
Before you start.Clinic #09: Maximum Depth of Binary Tree mein ek kaam seekha tha: har node (tree ka ek dabba, jiske neeche zyada se zyada do bachche latak sakte hain) se poochho “tumhare neeche sabse lamba raasta kitna hai”, chhote jawabon ko jod ke bada jawab banao, upar bhejo, isi ko recursion kehte hain. Yahan wahi sawaal ek naye mod ke saath aata hai: sabse lamba raasta root se shuru ho, zaroori nahi.
Lesson 50 of 96 in DSA
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.