Tip 1 : Be consistent in competitive programming. You can practice on any online platform.
Tip 2 : Do revise the theories like OOPs, OS, etc
Tip 3 : Discuss the approach with your friends. It will help you in mastering the art of explaining your learnings to others.
Tip 1 : Be honest to your resume.
Tip 2 : Highlight your major projects that you have done.



1. Coordinates of the cells are given in 0-based indexing.
2. You can move in 4 directions (Up, Down, Left, Right) from a cell.
3. The length of the path is the number of 1s lying in the path.
4. The source cell is always filled with 1.
1 0 1
1 1 1
1 1 1
For the given binary matrix and source cell(0,0) and destination cell(0,2). Few valid paths consisting of only 1s are
X 0 X X 0 X
X X X X 1 X
1 1 1 X X X
The length of the shortest path is 5.
This problem is an alteration to shortest path problem. For solving this I followed the approach of constfucting the adjacency matrix.
Then any shortest path algorithm can be applied. I used Floyd Warshal algorithm to solve it.
The interviewer was very friendly. In the start I was a bit nervous but the way he handled the interview it felt I'm with some friend of mine discussing coding problems and my subjects. The questions asked were of medium level from leetcode.



We can solve this problem with the help of backtracking. The idea is to start from the first row and place Queen in each square of the first row and recursively explore the remaining rows to check if they lead to the solution or not. If the current configuration doesn’t result in a solution, backtrack. Before exploring any square, ignore the square if two queens threaten each other.
What is an Operating System?
Why we use semaphore?
What is paging and how is it useful.?
It was a face to face discussion type round. Major questions were about myself and what are the technical fields I'm interested in. Then there were questions about which team I would like to work in(technically like machine learning oriented or testing based or something else).
Tip 1 : Explain your latest project with all the challenges and pros and cons of the way you handled it.
Tip 2 : Explains why you chose this project and how it helped you in leveling up your knowledge.

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?