Round 1
Questions:
-
Specific question not provided. The problem involved finding the next permutation of a given number that is higher than the current number and is the smallest.
Candidate's Approach
For the first problem, I solved it using a 'count' method but missed a small edge case. The interviewer pointed it out, and I immediately corrected it and provided the correct solution.
For the second problem, I was midway through explaining my approach when the interviewer indicated that time was up.
Interviewer's Feedback
No feedback provided.