Tip 1: Questions are asked on DSA, so practice them well. It's not about the number of questions you practice but how well you practice them. Prepare a notebook and write down the approach you follow. Make proper notes and maintain that notebook, as it will help with quick revision.
Tip 2: Conceptual questions are asked from topics other than DSA, so just watching videos on YouTube will not help. Read the book thoroughly to prepare yourself for interviews.
Tip 3: ALWAYS read about real-life examples of the concepts you study. These are often asked in interviews, and you will definitely regret failing to answer such questions.
Tip 1: Having projects on your resume will help direct your interview, increasing your chances of selection.
Tip 2: Include some achievements outside of academics; this shows that you are a team player and increases the probability of being shortlisted. However, do not write anything that is not true, as it may backfire.
The test was conducted in the evening from 7:00 pm to 8:30 pm. Due to the COVID situation, the test was held online and taken by all the students from their homes. A 15-minute login window was provided, and all students were required to log in within the first 15 minutes (between 7:00 and 7:15 pm). The test was conducted on AMCAT, with the webcam active for the entire test duration.
There were two sections in the test: 1) A coding round with 2 coding questions - 60 minutes, and 2) An MCQ round with 30 MCQs - 30 minutes.
A total of 120 students appeared for this round, and 20 were shortlisted for further processing.



1. A word is a sequence of one or more lowercase characters.
2. Words are separated by a single whitespace character.
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.
Simple hashing problem



Left shift is defined as a single circular rotation on the string after which the first character becomes the last character and all other characters are shifted one index to the left.
If A = “an”, B = “can”.
After performing one left shift operation, string B becomes “anc”.
After performing two left shift operations, string B becomes “nca”.
Can you solve this in linear time and space complexity?
String operation
This round started at 11 a.m. and went until 3 p.m. Out of the 120 students who appeared in the online coding test, 20 were shortlisted for the first round of interviews. In this round, everyone was asked some moderate-level coding questions. We were supposed to write the code in our IDE, present the screen, and show the interviewer the output of our code. The interview started with introductions, followed by two coding problems.



I solved this problem using hashmaps because of their O(1) search operation. I applied two nested loops and then used the hashmap to search for the third element to make the sum zero. The time complexity of this approach is O(n²).
Another approach that uses sorting also had a time complexity of O(n²).
The interviewer was happy with my answer.



This problem was based on the CPU scheduling concept in Operating Systems. For this problem, I created a variable and used it as a timer, updating it as time = (time + 0.5). I also created a boolean array of size three to represent the availability of three meeting rooms. After that, a normal iteration was performed to check the availability of the meeting rooms throughout the entire day.
When I told the interviewer that this problem is based on OS, he smiled and was very impressed with my approach. The time complexity of my approach is O(n).
Seven students were shortlisted for the HR round. This round started at 7:30 pm and lasted until 8:30 pm. Like all the other rounds, this round was also virtual (on Google Meet). In the beginning, the interviewer introduced himself and then asked questions based on my resume. All seven candidates were selected in the HR round.
Tell me about yourself.
Tip 1: Share less about your family and more about your technical skills.
Tip 2: Talk about your work experiences and the projects you completed that demonstrate the skills you mentioned.
Tip 3: Always prepare this part before the interview and practice in front of a mirror.
What type of projects did you work on at CDAC? What problem did that project solve?
Since my project was based on chatbots, I was asked these questions:
-- What chatbots have you used in real life, and what are they used for?
-- What is your opinion on the quality of service that chatbots provide?
-- My (interviewer's) experience with chatbots has not been very good. What further changes can be made to improve chatbots so that all queries can be resolved by them?
Tip 1: These questions were based on my project, so having thorough and detailed knowledge about the project is necessary to ace such questions.
Tip 2: Always research the problems that your project will resolve. This is the most frequently asked question in interviews.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?