Find max distance between alive tree nodes
Company: DoorDash
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Onsite
Quick Answer: This question evaluates a candidate's ability to design and analyze efficient tree algorithms and data structures, focusing on tree traversal, diameter-related reasoning, and meeting specified complexity bounds (O(n) time, O(h) space).