1st round– was MCQ round having questions in 4 sections-verbal communication, aptitude, coding, os n DBMS for around 2hrs
2nd round-coding round- 2 ques
1. How many minimum numbers of bits should be flipped in a string containing 0’s and 1’s such that 0’s and 1’s should be alternate
2. If the first letter in a string in capital change the full string to capital letters or else change full string to small letters
All the interviewers I got were friendly and asked me about data structures and general programs. each one asked if I had some questions at the end of the interview. students are evaluated based on their thinking ability, programming skills, attitude and communication in each round.
the interviewer asked me to explain two of my projects. After this, he asked me to write a program for Fibonacci series and then finding anagrams in a sentence. complete code was expected but each line was not scrutinized. if you can explain it correctly and confidently it should be good enough. He also asked some basics of java. He further went about trying to give me a question in which a matrix has 0’s and 1’s and to change the row and columns to 0. he later asked me a question on how I would declare a multi-dimensional hashmap.
the level of technical questions increased in this round. Complete code was expected. He asked me a bit about my project to start. then started asking me about different data structures and their advantages of linked list. he asked how I find a loop in a linked list and the start point of the loop. he then asked me a question about stock prices and stored in an array-how to find the time when to buy and sell the stock so as to maximize the profit (i first gave a solution which would require multiple traversals of the array which he asked me to optimize into a single traversal). He then asked how I would implement a random function without the built-in functions. He then asked how I would develop a parking system which is multilevel and had a different limit of the number of vehicles at each level in such a way as it would show if its full or not. Finally, he asked how I would print a matrix in a zigzag way.
the interviewer asked me to start with introducing myself. He asked me to explain any one of my projects that I liked. He then asked to be the program to convert decimal into binary. later he asked me to do a level order traversal of a BST. I did a recursive solution but he wasn’t satisfied and asked me to reduce the number of traversals so a suggested using a queue which he accepted. he then asked me a query – in a table consisting of AuthorID, book name, year and cost how can I retrieve the number of authors who sold more than 3 books in a year. he also asked general java concepts like inheritance polymorphism etc. he then asked me questions like tell me about your family, why Oracle etc
Finally, they announced the results at around 9:15 pm 25 students were selected.
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
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.