Round 1
Questions:
Candidate's Approach
- For the first question, I provided a basic solution using a stack and then optimized it with a vector.
- For the second question, I initially gave a recursive solution and then optimized it with memoization. I was able to solve both questions while discussing the time and space complexity.
Interviewer's Feedback
No feedback provided.