Panda Guru LogoPanda
Guru

Meta | SWE Product | E4/E5 Phone

Round 1

Questions:

Candidate's Approach
  • For the first question, I initially implemented a stack-based solution. When asked for an O(1) space complexity solution, I explained an alternative approach without using a stack, which the interviewer accepted.
  • For the second question, I provided an optimal solution with O(1) space, but I had to manage my time carefully and couldn't brute force due to time constraints.
Interviewer's Feedback

The interviewer noted a bug in my first code, which I corrected. Although my explanation for the second question wasn't great, they acknowledged that my solution was acceptable and understood my approach.