The test was conducted in an office cabin with comfortable chairs provided by the TPO.
The interviewer was nice and started with an introduction followed by a few related questions.
1. Spiral Matrix
Easy
15m average time
80% success
0/40
Asked in companies
You are given a 2-D array 'MATRIX' of dimensions N x M, of integers. You need to return the spiral path of the matrix.
Example Of Spiral Path: