Tip 1 : Be real during the interview and don’t show off.
Tip 2 : Practice Data Structures and Algorithms based problems as only through practice you will be able to solve questions quickly during the interview.
Tip 3 : Also prepare for theory subjects like Object-Oriented Programming Systems, Database Management Systems, Computer networks, etc.
Tip 1: Keep your resume simple.
Tip 2: Minimum 2 projects


I used tree traversal approach to solve the question and check the left and right children of the node if they both are NULL then just print that node. It passed all test cases.



If the given array is [1,2,3] then the answer would be 2. One of the ways to make all the elements of the given array equal is by adding 1 to the array element with value 1 and subtracting 1 from the array element with value 3. So that final array would become [2,2,2].
I tried solving it using Dp approach but not able to pass test cases.


For the given binary tree [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
1
/ \
2 3
/ \
4 5
Output: 1 3 2 4 5
I used the approach based on using two stacks. We can use one stack for printing from left to right and another stack for printing from right to left. In every iteration, we have nodes of one level in one of the stacks. We print the nodes and push nodes of the next level in another stack.



If the given grid is this:
[7, 19, 3]
[4, 21, 0]
Then the modified grid will be:
[7, 19, 0]
[0, 0, 0]
He asked me to introduce myself and then asked about my CGPA and other academic stuff.
Tell me about your projects mentioned in your resume.
Tip 1: Just gave the interviewer a basic introduction about me with the CGPA and other internship experiences.
Tip 2: I explained the basic working of my projects and technology stack on which my projects were developed. Then he asked me for flow chart for one of my projects and I explained to him properly, the flow chart of, my project with all the necessary details.

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