Tip 1: Participate in coding contests online.
Tip 2: Prepare for patterns, solve concepts.
Tip 3: Solve hard questions first and then work backwards towards medium level questions.
Tip 1: Mention achievements and problem solving profiles.
Tip 2: Mention your contributions and impact you made as experienced professional.
2 DSA problems : 1 Medium, 1 Hard (Problems have lot of unnecessary story, convert problem to simple task)
Workstyle Simulation (Problems to test how you handle work situations)
Leadership Principle and Behaviour based questions (Strongly Disagree/Disagree/Agree/Strongly Agree)



Solved Completely.
Using binary search on answer.



Input: 'N' = 3, ‘ARR’ = [1, 2, 3]
Output: 3
It is possible to make all elements of the given array equal by three moves only. There is no possible solution that can perform the task in minimum moves than 3.
[1, 2, 3] => [2, 3, 3] => [3, 4, 3] => [4, 4, 4]
2 DSA problems (1 Medium + 1 Hard) + 4 LP based questions
Timing : Morning
Interviewer was kind
Tip 1: Answer in STAR format.
Tip 2: Prepare stories.


1. A rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this node, plus every node has exactly one parent, except for the root node which has no parents.
2. If there are multiple answers, return the answer that occurs last in the given 2D-array. The answer edge [u, v] should be in the same format, with u < v.
Let’s say we have 3 edges that are {1 , 2} , {1 , 3} and {2 , 3}. So the resulting graph from these edges will be :
If we remove the edge {2, 3} then the resulting graph will be a tree
with 'N' nodes.
I discussed the problem out loud and realised DSU approach and coded it and did dry run.



Input: ‘asteroids’ = [3,-2,4]
Output: [3, 4]
Explanation: The first asteroid will destroy the second asteroid. Hence, after the collision, the state of the asteroids will be [3,4].
You don’t need to print anything. Just implement the given function.
I solved straight away using stack approach as interviewer mentioned time is less.
coded and did dry run.
2 DSA problems : 1 Medium, 1 Hard (most optimal approach is on moderate-hard end i.e. Greedy), 1 Hard (Trees)
Timing (Morning)
Interviewer was kind



Consider 0-based indexing.
Consider the array 1, 2, 3, 4, 5, 6
We can Jump from index 0 to index 1
Then we jump from index 1 to index 2
Then finally make a jump of 3 to reach index N-1
There is also another path where
We can Jump from index 0 to index 1
Then we jump from index 1 to index 3
Then finally make a jump of 2 to reach index N-1
So multiple paths may exist but we need to return the minimum number of jumps in a path to end which here is 3.
I gave Brute Force Approach
Interviewer asked me to optimize Time Complexity
Interviewer asked me to optimize Space Complexity
I gave Greedy Approach and coded it and did dry run



1. A ‘path’ is a sequence of adjacent pair nodes with an edge between them in the binary tree.
2. The ‘path’ doesn’t need to pass through the root.
3. The ‘path sum’ is the sum of the node’s data in that path.
I gave Brute Force Approach
Interviewer asked me to optimize
I discussed and coded optimized approach and did dry run
Bar Raiser Round - Talked about leadership principle based questions.
There were lots of follow ups, dove deep in AWS services used and microservices and logic of my project.
Can you describe a complex problem you encountered that required in-depth research, development of proof of concepts, and exploration of multiple solutions to address the issue?
Tip 1: Answer in STAR format.
Tip 2: Prepare stories.

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?