Tip 1: Be consistent with DSA problem-solving.
Tip 2: Prepare everything mentioned in your resume.
Tip 3: Read about all your projects in detail.
Tip 1: Keep two good projects.
Tip 2: Don’t write anything you do not know.
There were two DSA questions, and 50 minutes were given to solve them.



[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.



The interviewer was helpful and tried to test my problem-solving skills.



Print -1 if a node is not reachable from the given source node.
Consider the following DAG consists of 5 nodes and 7 edges, Let the source node ‘Src’ be 0.

Then the maximum distance of node 0 from the source node 0 is 0. (the distance of a node from itself is always 0).
The maximum distance of node 1 from the source node 0 is 3. The path that gives this maximum distance is 0 -> 1.
The maximum distance of node 2 from the source node 0 is 10. The path that gives this maximum distance is 0 -> 2.
The maximum distance of node 3 from the source node 0 is 15. The path that gives this maximum distance is 0 -> 2 -> 3.
The maximum distance of node 4 from the source node 0 is 54. The path that gives this maximum distance is 0 -> 1 -> 4.
Thus we should print 0 3 10 15 54
Have you ever been in a situation similar to a deadlock? What was it, and how did you come out of it? What are the conditions for a deadlock in OS?
Tip 1: Go through commonly asked OS questions.
Tip 2: Understand the concepts well, as the interviewer tests your understanding.
Tip 3: Give good examples.
How is a computer able to process a large amount of data despite having less storage than the application?
Tip 1: Go through commonly asked OS questions.
Tip 2: Understand the concepts well, as the interviewer tests your understanding.
Tip 3: Give good examples.
It was the final round, conducted after lunch. There were two interviewers. The round focused on projects, and one DSA question was asked.
In a role-based access management dashboard, where people have different roles such as Admin, User, and Tech Team, how would you distinguish between the roles? Give a brief, high-level overview.
Tip 1: Understand the problem statement thoroughly.
Tip 2: Note the key pointers.
Tip 3: Ask the interviewer for clarity.
How would you optimize performance in a large-scale React application?
Tip 1: Practice frontend questions.
Tip 2: Study theoretical topics.
Tip 3: Have a good understanding of React concepts.
How does reconciliation work when keys are used incorrectly in lists?
Tip 1: Practice frontend questions.
Tip 2: Study theoretical topics.
Tip 3: Understand React concepts well.



1. It is not allowed to remove the whole array.
2. A subarray is defined as a contiguous block of elements in the array.
Suppose given ‘NUMS’ is [3, 1, 4, 2] and ‘P’ is 6.
The sum of the elements in ‘NUMS’ is 10, which is not divisible by 6. We can remove the subarray [4], and the sum of the remaining elements is 6, which is divisible by 6.
So print ‘1’ as a length of the removed subarray [4].

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