DIY: Diameter of Binary Tree

Solve the interview question "Diameter of Binary Tree" in this lesson.

Problem statement

Given a binary ...

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.