Panda Guru LogoPanda
Guru

Meta Phone Screen | US

Round 1

Questions:

  1. Lowest Common Ancestor of a Binary Tree III
  2. Minimum Remove to Make Valid Parentheses

For question B, the variation was "minimum to add" instead of remove.

Candidate's Approach

I solved both questions correctly in O(n) time and space. However, I was asked to optimize my solutions to O(1) space, which I couldn't achieve.

Interviewer's Feedback

No feedback provided.