Tip 1 : Be confident. Develop minimum 2-3 projects and know those projects completely.
Tip 2 : Practice DSA at-least 200 questions and Algo.
Tip 3 : Practice aptitude and reasoning questions.
Tip 1 : Mention only those skills, projects or achievements in which you have thorough knowledge.
Tip 2 : Add only one or two good projects in which you have in-depth knowledge. Also do the same for skills, do not add many skills.
Tip 3 : Mention only those achievements which showcase your technical skills, communication skills or teamwork spirit.


If the given matrix is:
[ [1, 2, 5],
[3, 4, 9],
[6, 7, 10]]
We have to find the position of 4. We will return {1,1} since A[1][1] = 4.



Given array/list can contain duplicate elements.
(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.


1. Escape cells in this problem are all such cells that lie on the edge of the matrix but not on the corner. i.e all such cells which are in the first row, first column, last row, and last column excluding the four corner cells are considered as valid escape cells.
2. A cell once set on fire continues to remain on fire till the end.
3. Note that rows are indexed from 0 to ‘N’ - 1 and columns are indexed from 0 to ‘M’ - 1.
4. The escape cells may also be initially on fire or can catch fire from some neighboring cell.

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?