I applied through a recruiter. The process took 2 weeks. I interviewed at IBM (Kochi) in May 2021
Interview
The interview went very smoothly and felt well-structured. The interviewer primarily focused on core Java concepts, covering topics such as OOP principles, collections, exception handling, multithreading, and Java 8 features. In addition to these, there were several data structures and algorithms questions, which tested my understanding of arrays, linked lists, trees, and basic graph problems. Some questions also involved time and space complexity analysis, requiring me to explain the efficiency of my solutions. Overall, the session was engaging and balanced, allowing me to demonstrate both my theoretical knowledge and practical problem-solving skills in Java and algorithmic thinking.
Interview questions [1]
Question 1
What happens if you call super() inside a constructor after a this() call? Will it compile? Why or why not?
If you insert the same object multiple times into a HashSet but its hashCode() changes after insertion, what will happen when you try to retrieve or remove it?
Can two threads accessing the same object with synchronized methods cause a deadlock? Explain a scenario.
Given a linked list, how would you detect a cycle without using extra space? What’s the time complexity?
If you have a nested loop where the inner loop doubles the index each time, what is the overall time complexity?
How does parallelStream() differ from stream() internally, and when can it actually degrade performance?
If you override equals() in a class but forget to override hashCode(), what issues could occur in collections?
Applied through Naukari, after 3 weeks received all from hr that my profile shortlisted , and went for a face-to-face Aptitude test, followed by 3 rounds of technical rounds , and to schedule hr round took two weeks
Multiple technical rounds. May not get to next round even if you solve all questions quickly. Data structures and algorithms coding questions were super easy/One liners. Most people who got particular set did not qualify even though questions were solved