Diameter of Binary Tree — Trees
Find the longest route between any pair of rooms in a branching floor plan, counted in doorways crossed, not needing to pass the entrance.
Trees · Easy
Find the longest route between any pair of rooms in a branching floor plan, counted in doorways crossed, not needing to pass the entrance.
Trees · Easy