Tip 1 : Participate in live contests on websites like Codechef, Codeforces, etc as much as possible.
Tip 2 : Practice previous interview questions from LeetCode, GeeksForGeeks.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.
Tip 1 : Only write those things in the resume which you are confident of and keep practicing.
Tip 2 : Mention at least 2 projects on different technologies in your resume
This is a written round on paper for everyone. Three coding questions were given. Two out of three must be correct covering every single edge case to qualify for the next round. Only the most optimal solution was to be considered.


I used the Kadane algorithm to solve this question and wrote a clean code with which could work on negative numbers also.



I solved this question using a priority queue(max heap) by inserting all elements in the priority queue and then taking the maximum two out of them and pushing their sum again to the priority queue.



If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
This was again a very standard question and solved it using recursion.



For the given binary tree and X = 9
{1, 3, 6} is a valid triplet because 6 is a node whose parent is 3 and grand-parent is 1. Also, the sum of these nodes is 1 + 3 + 6 = 10 which is strictly greater than X = 9.
I thought of recursive preorder traversal and then tried storing elements in a stack but could not solve this question. Then the interviewer moved to the next question.



I told the interviewer dynamic programming based solution on either including the current element to current sum or excluding the current element and then he asked me to write its code and I gave properly commented code for this.
This was technical + HR round
1. Tell me about yourself.
2. Why are looking for a change? You recently joined a company and now again you are giving interviews?
Tip 1 : Start with the basic introduction with previous experience and skills.
Tip 2 : Simply gave the reason that this company is better than your previous company so wanted to join it.
1. Tell me the difference between Mutex and Semaphores with a real-life example.
2. What is round robin algo?
Gave him a proper definition of both and then gave him an example based on classical OS problems.
1. What is Normalization and why it is done?
2. What is indexing and what's its benefits?
Tip 1 : Be confident and clear with your btech syllabus.

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