Diameter of a Tree

Company: Inmobi Oncampus_14june

Difficulty: medium