Tip 1 : Prepare DSA well from Leetcode or GFG and practice a lot. Try to practice Medium and hard level questions.
Tip 2 : Prepare some good projects, donot copy-paste from online sources.
Tip 3 : Learn to present yourself by taking at least 10 mock interviews with friends or sites like pramp
Tip 1 : Be to the point and according to JD. keep it one paged.
Tip 2 : Start the sentences with action words like developed, implemented etc.
Timing - 6PM,
Mode - online, from home.
Coding questions on Segment tree, Dynamic Programming & Arrays



For given 2D array :
[ [ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ] ]
After 90 degree rotation in anti clockwise direction, it will become:
[ [ 3, 6, 9 ],
[ 2, 5, 8 ],
[ 1, 4, 7 ] ]



For the given input array [4, 3, 2, 1], the minimum no. of swaps required to sort the array is 2, i.e. swap index 0 with 3 and 1 with 2 to form the sorted array [1, 2, 3, 4].



Let nums = [1, 2, 3], L = 2, R = 7
Then the possible ranges are [1,1],[2,2],[0,1],[1,2],[0,2], and their sum is 2,3,3,5,6 respectively. Hence the answer will be 5.
Timing - 10PM
Interview was online through G-Meet



1. get(key) - Return the value of the key if the key exists in the cache, otherwise return -1.
2. put(key, value), Insert the value in the cache if the key is not already present or update the value of the given key if the key is already present. When the cache reaches its capacity, it should invalidate the least recently used item before inserting the new item.
Type 0: for get(key) operation.
Type 1: for put(key, value) operation.
1. The cache is initialized with a capacity (the maximum number of unique keys it can hold at a time).
2. Access to an item or key is defined as a get or a put operation on the key. The least recently used key is the one with the oldest access time.
Timing 12 Noon
Interviewer was an engineering manager
Design a cab booking app for driverless cars
Tip 1 : Think out loud
Tip 2 : Discuss different approaches before going ahead with one.
Tip 3 : Do not keep quiet for long, try to keep interviewer on the same page with you while deriving at the solution
Resume + DSA round



0 <= i,j,k,l < ‘N’
ARR1[i] + ARR2[j] + ARR3[k] + ARR4[l] = 0.

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