Round 1
Questions:
-
Problem 1: I was able to come up with an optimal solution using maxheap, but 14/15 test cases passed. One test case failed, which seemed to be an edge case I couldn't resolve in time.
-
Problem 2: Successfully solved this question with all 15/15 test cases passing.
System Design
- No issues here; this section also went well.
Work Style Assessment
- No issues here; this section also went well.
Candidate's Approach
For Problem 1, I implemented an optimal solution using a maxheap. However, I encountered an edge case that I couldn't resolve in time, resulting in one test case failing. For Problem 2, I successfully solved the question, passing all test cases.
Interviewer's Feedback
No feedback provided.