Tip 1 : Focus on graphs every interviewer ask at least one graph question
Tip 2 : Read about amazon leadership principles and STAR
Tip 3 : Make 2-3 good personal projects, interviewers ask about questions about personal projects.
Tip 1 : Make 2-3 good personal projects, interviewers ask about questions about personal projects.
Tip 2 : Make a single page resume
- Morning time
- Environment was good.
- No
- Interviewer was good



‘GRID’ =

We cannot reach the cell ‘(2, 2)’ until the time is ‘5’. When the time is ‘5’, we move along the path:
0 -> 1 -> 4 -> 3 -> 5
The cell with value ‘1’ will be unlocked when the time is ‘1’.
At time = 1: 0 -> 1
Similarly, the cell with value ‘4’ is unlocked when the time is ‘4’. At that time the cell with value ‘3’ will also be unlocked, as it unlocks at time ‘3’.
At time = 4: 0 -> 1 -> 4 -> 3
The cell with value ‘5’ will be unlocked when the time is ‘5’.
At time = 5: 0 -> 1 -> 4 -> 3 -> 5
So, the least time to reach cell ‘(2, 2)’ is ‘5’.
1. All elements in the ‘GRID’ are unique.
2. ‘GRID[i][j]’ is a permutation of [0, 1, … , (N ^ 2) - 1].
s1- came up with the O(nˆ2)
s2- approach initially then optimised it using DP and did it in O(n)



Let ‘N’ = 4, ‘Arr’ be [1, 2, 5, 4] and ‘K’ = 3.
then the elements of this array in ascending order is [1, 2, 4, 5]. Clearly, the 3rd smallest and largest element of this array is 4 and 2 respectively.
s1 - elements of this array in ascending order is [1, 2, 4, 5]
s2 - Kth largest element, 1 <= T <= 50
s3 - compare the element and print for the smallest one
- Morning time
- Environment was good.
- No
- Interviewer was good



insert(X): Inserts an element X in the data structure and returns true if the element was not present, and false otherwise.
remove(X): Removes the element X from the data structure, if present. Returns true if the element was present and false otherwise.
search(X): Search the element X in the data structure. Returns true if the element was present and false otherwise.
getRandom(): Return a random element present in the data structure.
Type 1: for insert(X) operation.
Type 2: for remove(X) operation.
Type 3: for search(X) operation.
Type 4: for getRandom() operation.
It is guaranteed that at least one element will be present in the data structure when getRandom() operation is performed.
Can you implement every operation such that it works in O(1) time?
s1 - Apply CURD operation
s2 - Apply element X in the data structure and returns true if the element was not present, and false otherwise.
s3 - Check for getRandom() operation.,at least one element will be present in the data structure.



1. All the coordinates are integer coordinates.
2. There can be two identical coordinates.
- Morning time
- Environment was good.
- No
- Interviewer was good
1. Why did you decide to apply to this role?
2. What experience do you have that would be relevant to this role?
3. Tell me about your experience in.
4. What did you like most about the job description?
5. Why are you leaving your current job?
6. Tell me about this gap in your resume.
Tip 1 : Keep your communication good
Tip 2 : Drees well and practice mock
Tip 3 : Be confident while speaking

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