Return right and left side views of a tree
Company: Meta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Overview: This question evaluates understanding of binary tree data structures and the competency to identify side views by reasoning about which node is visible at each depth.
Read the full Meta Software Engineer interview experience this question came from