Panda Guru LogoPanda
Guru

Onsite coding E5 - automatic fail?

Round 1

Questions:

  1. Two medium-level coding questions from the top 100 tagged on LeetCode.
  2. A novel string manipulation question in Java.

Test Cases:

Candidate's Approach
  • For the first question, the candidate solved it optimally and was able to verify the solution, catching a small bug during verification.
  • For the second question, the candidate provided the approach and wrote the code but could not finish verification due to time constraints. The candidate mentioned that using StringBuilder could reduce the time complexity but did not implement it due to time pressure.
Interviewer's Feedback
  • The interviewer acknowledged that the candidate's approach for the second question was correct.