Tip 1 : Strings were the most asked topic during the 2021 placement season.
Tip 2 : Prepare Networks and OS properly and be sure to answer all questions in an interview.
Tip 1 : Please keep it a one-pager, and do not include skills like Ms Word, and Excel.
Tip 2 : Ensure you highlight 2 dev projects that you know fully. You can get questions as to what you did in the project vs what your other teammates did. Never try to create any stories during the interview, it clearly shows that the candidate is lying.
1. 2 programing Questions
2. 10 MCQs based on OS and Networking.



1. If multiple such cities exist, you have to find the city with the greatest number.
2. The distance of a path connecting two cities, ‘U’ and ‘V’, is the sum of the weight of the edges along that path.
3. The distance between two cities is the minimum of all possible path distances.
1. Graph question
2. Use BFS to solve the same.
3. As it was an online round you just have to code it in hackerrank's IDE.



If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
1. Provided the head node
2. BFS to get level order nodes of each level.
3. Print the first node of each level.
1. The interview was in the morning 10-11AM.
2. It was an online round using teams and hackerrank codepair.



Input: ‘str1’ = “abcjklp” , ‘str2’ = “acjkp”.
Output: 3
Explanation: The longest common substring between ‘str1’ and ‘str2’ is “cjk”, of length 3.
1. I was able to provide the solution in 15 mins ( I had seen the problem during my practice) :)
2. Step1 : Brute Force :A simple solution is to one by one consider all substrings of the first string and for every substring check if it is a substring in the second string. Keep track of the maximum length substring.
Step 2 : Optimize the solution using DP O(m*n)



You have a special type of car containing any number of seats.
1. Managerial/Technical round
2. Right after the second round.
3. Lasted for 60 mins.



You do not need to print anything, just return the vector representation of the heap such that the input array follows 0 - based indexing and :
The left child of the ith node is at (2 * i + 1)th index.
The right child of the ith node is at (2 * i + 2)th index.
Parent of the node present at ith index is at (i - 1) / 2 indexes.
1. Replace first and last element of the array.
2. Go from mid of the array and check for the condition that it is greater than its children. If it is not, then swap it.
3. Repeat step 2 till you complete the loop from n/2 to 1.
What are the conditions of deadlock? What is a semaphore and what are mutex locks?
Tip 1 : Read the OS deadlocks and mutex locks chapter thoroughly.
Tip 2 : Ensure that you are strong in OS fundamentals ( Bankers algo, resource sharing graphs etc)
Tip 3 : Type os OS (modular, layered etc)
ROund occurred during evening time ( 5-6 pm).
After the third round.
1. Why this company?
2. Do you have other offers?
3. Where will you be in 5 years?
4. Do you like to work on networking or only application development?
5. Planning for a masters?
Tip 1 : Be calm and confident.
Tip 2 : Prepare for general HR questions.
Tip 3 : Please, never say that you are planning for a masters.

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