Tip 1 : First of all always apply for job interviews when you are fully prepared
Tip 2 : Whenever you are solving any DSA question always try to communicate the approach with your interviewer and do not directly jump to the solution even if you know the solution
Tip 3 : Always prepare whatever there in your resume do not think that you can fool the interviewer
Tip 1 : Always add only those things in your resume that you actually know and always add your coding profile clickable link
Tip 2 : Always add the tech you used in your project that actually creates a good impact in the hiring manager round
Timing: around 9am to 10am exact time I forgot
Type :DSA round



If the matrix is
0 2 4 1
4 8 3 7
2 3 6 2
9 7 8 3
1 5 9 4
Then answer is 47. As, Alice will collect coins 0+8+3+9+1 = 21 coins. Bob will collect coins 1+7+6+8+4 = 26 coins. Total coins is 21+26 = 47 coins.



If two words have the same frequency then the lexicographically smallest word should come first in your answer.
Can you solve it in O(N * logK) time and O(N) extra space?
Timing : moring 9am to 10:am
Type: DSA



You are given ‘MAT’= [[1, 2],[3, 4]] and ‘K’ = 8.

Then the answer will be 7 (the sum of the red rectangle).



1. There is at least one cell having the integer 0 in the given matrix.
Consider the following 2*3 matrix ‘MAT’:
[0, 1, 1]
[0, 1, 1]
Here, the nearest cell having the integer 0 from the cell (0, 0) is the cell (0, 0) itself. The Manhattan distance between them is |0 - 0| + |0 - 0| = 0.
The nearest cell having the integer 0 from the cell (0, 1) is cell (0, 0). The Manhattan distance between them is |0 - 0| + |1 - 0| = 1.
The nearest cell having the integer 0 from the cell (0, 2) is cell (0, 0). The Manhattan distance between them is |0 - 0| + |2 - 0| = 2.
The nearest cell having the integer 0 from the cell (1, 0) is cell (1, 0) itself. The Manhattan distance between them is |1 - 1| + |0 - 0| = 0.
The nearest cell having the integer 0 from the cell (1, 1) is cell (1, 0). The Manhattan distance between them is |1 - 1| + |1 - 0| = 1.
The nearest cell having the integer 0 from the cell (1, 2) is cell (1, 0). The Manhattan distance between them is |1 - 1| + |2 - 0| = 2.
Thus we should return matrix:
[0, 1, 2]
[0, 1, 2]
Timing: evening 4pm
Type: Hiring manager
1. Starts with introduction ,then goes directly to resume and asked the question related to the tech stack that I used in the project
2.After the technical discussion he asked the question like what are the two things that you like about your current organization , what is your contribution in the architecture of your project , etc

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?