The interview started with a brief introduction, where I was asked to walk through my background and projects. After that, the interview moved into the technical discussion and lasted for around 1 hour in total.
The first problem was based on the two-pointer technique. I was asked to explain my approach clearly and then dry run the solution step by step on sample inputs. The interviewer focused a lot on clarity of thought and correctness. After completing the solution, I was asked about the time and space complexity and possible edge cases.
The second question was related to Binary Trees. Similar to the first question, I was expected to explain the approach before writing the code. I was asked to dry run the algorithm, explain the recursion/logic involved, and analyze the time complexity. The interviewer also checked my understanding of how the solution behaves in worst and average cases.
The interview was conducted on Amazon’s internal tool, Chime. The code had to be written on a shared screen, and it was not executed—the main focus was on problem-solving approach, logic, and explanation rather than running the code.
Overall, the environment was very chill and comfortable. The interviewer was supportive and gave enough time to think and explain each step properly. Strong emphasis was placed on DSA fundamentals, clear communication, and problem-solving approach rather than just writing code.