Round 1
Questions:
- Contains Duplicate 2 (as is)
- Simplify Path (also had cwd along with cd)
Candidate's Approach
- For "Contains Duplicate 2", the candidate solved it optimally.
- For "Simplify Path", the candidate also solved it optimally.
Interviewer's Feedback
No feedback provided.
Round 2
Questions:
- First question (NON-LC) - solved in O(N), but the interviewer mentioned it could be solved in O(1) due to a special case of the input string.
- Second question (NON-LC) - solved optimally.
Candidate's Approach
- The candidate solved the first question in O(N) but acknowledged the possibility of an O(1) solution based on the input string's special case.
- The second question was solved optimally.
Interviewer's Feedback
No feedback provided.
System Design Round
Questions:
- Ad-click Aggregator
Candidate's Approach
The candidate reported that the system design round went really well.
Interviewer's Feedback
No feedback provided.