Compute binary tree diameter
Company: Meta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates understanding of binary tree structures, computation of path-based metrics (diameter), handling edge cases such as empty or single-node trees, and the ability to analyze time and space complexity.