Round 1
Questions:
The question was the exact same as this one:
LeetCode Discussion
Answer can be found here:
LeetCode Discussion
Look at foraccode
's reply for the code.
Candidate's Approach
I gave the same solution but instead of using an array, I used a binary search tree.
Interviewer's Feedback
No feedback provided.