- It consisted of one coding question and 6 sections including verbal, output questions, aptitude questions etc. Worst thing about test was you cannot navigate back to the question.
- First he asked me in detail about my recent project. He asked which technology I used, what are advantages of this technology, what challenges I faced etc. Here I would suggest you to deeply study whatever you are putting in your resume because you should be able to answer reasonably whatever is given in your resume.
- Then he asked me to write a program to find greater of 2 dates with all if else loops without any mistake.
- Then he asked me to give a data structure to store when there are millions of data and we want it to be search efficient. I told hashmap. Then he asked me how hashmap is implemented.
- Then he asked is there a better data structure to handle duplicates. I first answered BST, but he said BST is mainly used when we want our to be in sorted order which was right. I couldn’t think of any better data structure which I frankly told him. He only answered this question. It’s answer is to use SETS.
- Then he started asking about OOPS.
- First he asked what is inheritance. I answered him with an example. Then he asked about interface and why java doesn’t allow multiple inheritance.
- Then he asked the term for redefining the function. I told him it’s called overloading.
- Then he asked me what is the difference between overloading and overriding. I answered when we redefine the function in same class it’s called overloading but when we redefine the function in derived class it’s called overriding.
- He asked what are the constraints on arguments number and datatype in these two cases. In overloading you can redefine the function with different number of arguments and datatype but in overriding you cannot change it.
- He asked can we have function overloading with different return types. I said no as it is not allowed in either c++ or java.Actually it is allowed when the argument list is changed
- He asked what is third normal form which is DBMS question. This switch was so sudden. But I answered him and he looked satisfied.
- He asked me how would you contribute to integrity.
- Then he asked me if I have done some leadership roles.
- He asked me how is my interaction with juniors.
- Finally he asked if I have any questions.
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.