Round 1: First round was an online test which consisted of three sections:
Aptitude- 20 MCQs had to be solved in 20 minutes. The questions were pretty easy and covered your basic logical and reasoning skills.
Technical- 20 MCQs had to be solved in 25 minutes. An option was given to solve questions of either JAVA or C++ language. I chose Java. The questions were from basic core java.
Coding- A total of 4 questions were asked to be solved in 50 minutes. We only needed to type the code for the function, input and output code was already defined.
- Convert the given tree into its mirror tree. (15 Marks) Link: https://www.geeksforgeeks.org/dsa/write-an-efficient-c-function-to-convert-a-tree-into-its-mirror-tree/
- Reverse a linked list in groups of given size, k. (18 Marks) Link: https://www.geeksforgeeks.org/dsa/reverse-a-linked-list-in-groups-of-given-size/
- Modify a bit at a given position. (15 Marks) Link: https://www.geeksforgeeks.org/dsa/modify-bit-given-position/
- The question was quite similar to removing duplicates from a string. (12 Marks) Link: https://www.geeksforgeeks.org/dsa/remove-duplicates-from-a-given-string/
- A string consisting of all types of characters is given. I was asked to swap all the alphabet characters from beginning of the string with alphabet characters from the end of the string. The code should be optimized. Example, Input: Abcdef1234ghij$% Output: jihgef1234dcbA$% I wrote a solution with time complexity O(n). The interviewer was satisfied with my solution.
- Print Breadth First Traversal for a given tree. I wrote a code using queue which was accepted. Link: https://www.geeksforgeeks.org/dsa/level-order-tree-traversal/
- Previous question was further modified to printing the level number along with the node data. Link: https://www.geeksforgeeks.org/dsa/get-level-of-a-node-in-a-binary-tree/
- Search for a given node in the given binary tree. Link: https://www.geeksforgeeks.org/dsa/search-a-node-in-binary-tree/
- The above question was modified to printing the parent node and sibling node (if exists) for a given node. Link: https://www.geeksforgeeks.org/dsa/find-right-sibling-binary-tree-parent-pointers/ Link: https://www.geeksforgeeks.org/dsa/print-cousins-of-a-given-node-in-binary-tree/
- Given two strings, find if the second string is a subsequence of the first string. A subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements. Link: https://www.geeksforgeeks.org/dsa/given-two-strings-find-first-string-subsequence-second/
- The above question was modified to accept those sequences too as a subsequence in which maximum of 2 elements could be out of order. Example, if "abcdefgh" is the first string then, "afed" will also be considered as a subsequence since in one swap (interchanging f with d) the correct order can be obtained.
- How did you like the interview process? Did you face any problem?
- Tell me about yourself.
- What is your definition of "Success"?
- Where do you see yourself in 10 years from now?
- Why did you decide to study at your college and not any other college?
- Why did you choose CSE?
- Do you wish to go for higher education in the future? If not, why?
- There are so many more interesting fields to work in like AI, IOT, Blockchain, etc. and Mentor Graphics mostly uses Java technologies so why do you want to work with us instead of companies that are exploring new technologies?
- I was also asked about my parents, my hometown, other interests besides academics, etc. The HR expected me to give elaborate answers.
- We also talked about the projects and internship I had done.
- Why did you choose this company?
- How can I believe you that you are in it the long haul?
- Is moving to Hyderabad fine by you?