Tip 1 : Prepare System Design
Tip 2 : Practice DSA Questions properly
Tip 3 : Practice OOPS and DBMS Concepts
Tip 1 : Your Resume should consist mainly of skills, projects, and achievements. Projects would play a crucial part in your interview and you should have at least one most relevant and good project that shows how strong your concepts are in development.
Tip 2 : The most important tip is that never lie on your resume If you have worked upon some technology for the project part only and don't know the proper depth you could write basics only in your resume.
There were two questions which we had to solve in 60 Minutes.



3 2 2
5 6 6
9 5 11
In the given matrix, 3 → 5 → 6 and 3 → 5 → 9 form increasing paths of length 3 each.
The idea is simple. For a particular index check in all four possible directions that if the value is greater than the value at current index. If yes, call the same function in that direction and at last take maximum of all the four directions and add 1 to it.
Check this for all the indices and take the maximum of all.



Up: (x, y) -> (x - 1, y)
Left: (x, y) -> (x, y - 1)
Down: (x, y) -> (x + 1, y)
Right: (x, y) -> (x, y + 1)
consider the binary matrix below. If source = (0, 0) and destination = (3, 4), the shortest path from source to destination has length 11.

BFS gives us the shortest path, so we will just do that.
There was one question which we had to solve in 180 Minutes. Questions can contain 10 or 50 test cases and we had only 5 attempts to make a successful submission.



Here comes the final solutions. Note that we put 2 balloons with 1 as boundaries and also burst all the zero balloons in the first round since they won't give any coins.
The algorithm runs in O(n^3) which can be easily seen from the 3 loops in dp solution.
The interview started with 2 coding questions in which time and space complexity was asked followed by oops and os questions.



It is the pattern of fibonacci numbers from bottom Up approach. Any House can be robbed but not adjacent leads to us an idea that we can iterate over and find the total money by two inner loops.



It is possible for Mr. X to rob the same amount of money by looting two different sets of houses. Just print the maximum possible robbed amount, irrespective of sets of houses robbed.
(i) Given the input array arr[] = {2, 3, 2} the output will be 3 because Mr X cannot rob house 1 (money = 2) and then rob house 3 (money = 2), because they are adjacent houses. So, he’ll rob only house 2 (money = 3)
(ii) Given the input array arr[] = {1, 2, 3, 1} the output will be 4 because Mr X rob house 1 (money = 1) and then rob house 3 (money = 3).
(iii) Given the input array arr[] = {0} the output will be 0 because Mr. X has got nothing to rob.
Since every house is either robbed or not robbed and at least half of the houses are not robbed, the solution is simply the larger of two cases with consecutive houses, i.e. house i not robbed, break the circle, solve it, or house i + 1 not robbed. Hence, the following solution. I chose i = n and i + 1 = 0 for simpler coding. But, you can choose whichever two consecutive ones.
Explain semaphore and mutex in detail.
Gave me a deadlock scenario and asked me how will I solve it.
Tip 1: Be clear with the explanation
Tip 2: if any question requires explanation use the resource that is provided for explaining
Tip 3: study the most important questions. you can use Codestudio for that
What is polymorphism in c++ and explain its types?
What are virtual functions.
What are friend functions.
Tip 1: Be clear with the explanation
Tip 2: if any question requires explanation use the resource that is provided for explaining
Tip 3: study the most important questions. you can use Codestudio for that
This is not a typical HR round, it is more like a discussion.
How was your college life?
What all offers do you have?
You will have to relocate, are you comfortable in relocation?
Tip 1: Prepare for Basic HR questions
Tip 2: Stay Honest
Tip 3: Be confident

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?