The interview began with a discussion about my past projects, where I was asked to explain the problem statements, the approach I had taken, and the tech stacks I had used to implement them. From there, the interviewer shifted focus to fundamental concepts of Object-Oriented Programming. I was asked to explain polymorphism in detail, covering both compile-time (method overloading) and runtime (method overriding) polymorphism, along with suitable examples. They also tested my understanding of inheritance and how it is applied in real-world scenarios.
After the theoretical part, I was given coding questions to solve on paper. The first task was to reverse a linked list, and the second was to add two numbers represented as linked lists. These questions were designed to test my problem-solving skills, knowledge of data structures, and ability to translate logic into clean code.