Diameter of an Undirected Tree
Company: Salesforce
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Overview: Compute the number of edges in the longest simple path of a large undirected tree in linear time.