It was alright. I think the interviewer could have been much more polite. I think he had a bad day or something was wrong. He just had preconceived answers and wasn't very comfortable with different approaches.
Print the binary tree by level, with each level on a new line.
The following metrics were computed from 1,861 interview experiences for the Meta Software Engineer role in United States.
Meta's interview process for their Software Engineer roles in the United States is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Meta's Software Engineer interview process in United States.