As a new grad, I was asked a difficult question. I used DFS to solve it and wrote my thoughts on paper. The interviewer was nice and allowed me to explain how to pass the parameters of the function, as well as the condition for the end of the recursion. I showed a little bit of uncertainty when I answered the question, but after all, the answer was correct, so I am still on the waiting list.
Find given words in the matrix.
For example:
The matrix = [ [a, s, d] [f, g, h] [j, f, v] ]
And the words = ['agfj', 'ah', 'vgj'].
Your aim is to find which words appear in the matrix.
So, words 'agfj' and 'vgj' are in the matrix.
The following metrics were computed from 51 interview experiences for the Microsoft Software Engineer role in New York, New York.
Microsoft's interview process for their Software Engineer roles in New York, New York is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Microsoft's Software Engineer interview process in New York, New York.