Round 1
Questions:
- Range Sum of BST within [low, high]
- Next Permutation
Candidate's Approach
- For the first problem, I finished in 10 minutes, explaining the solution's efficiency and demonstrating it with an example.
- For the second problem, I quickly coded the best solution after explaining my thought process, which also took 10 minutes.
- After coding, I walked through some tricky examples to ensure my code worked correctly.
Interviewer's Feedback
- The interviewer seemed satisfied with my explanations and approach.
- She wished me luck for the next interviews and we finished the call five minutes early.