← All problems
Easy · Trees

Diameter of Binary Tree

Find the maximum edge count on any path in the tree.

Full problem and submission ↗
main.js

Console

Ready