First round ( online round):
Conducted at hackerrank which had some 15 MCQtechnical questions and a program. The program asked was Maximum amongst minimum in sub-arrays.
I did 10/15 MCQ questions correctly and got 12/13 test cases right. After that I was called for the in-person interview I will be well aware of how I performed in the online test….
- What is encapsulation?
- Given an inheritance hierarchy, how does encapsulation work here?
- Does encapsulation really exist in OOPS or is it just conceptual? I was asked to explain with proper examples and with clarity, which I think I failed to do.
A few questions were asked from the online round, the MCQs which I did wrong was asked him, but I was good enough to identify all I did wrongly during the online test, and so explained to him the correct answer when he asked me the same question again during the in-person interview.
The questions asked in this round were mostly from my project. Many scenarios were given, and I was asked how well my project will work in the various scenarios was also asked to explain the in and out of the project in-depth(I didn’t do this very well).
Later I was asked to ask some questions, which I asked to make sure I impress the interviewer and let him know that I am serious about this company, so finally, he himself told me, he was pushing me to round 2 and told me all the best for the same.
Second round ( Technical )
It was about a 15 NUMBER PUZZLE GAME. He asked me to design a data structure to implement that game. He asked me how to identify if the game has been won. And also, asked me to provide various solutions for the same(each of them more optimized than the previous). I gave him around 3 solutions.
Later he asked me questions based on my resume….And finally, in my hobbies, I had “writing poems” as one of my hobbies, so he asked me do you remember any of them? I told him, sir it isn’t actually a poem, but just for fun I used to write something and post on FB in childhood and just told a few lines from a poem(acc. to me) to him, and he smiled(maybe it was funny.)
I was happy that I did this second round better than the first round, but was unlucky and was rejected after this round. (Maybe my answer was not what he expected)