Do you want to know what may await you on the recruitment path at Microsoft? We present the task that was set during past interviews for a Software Engineer there.
Check if you have a predisposition to work for one of the world's largest software and electronics makers! Use your skills to figure out how to print a matrix spirally. How are you going to approach this problem? Can you find an effective solution? Let's see!
You can use any of the following languages: JavaScript, PHP, Python, Ruby, Swift or TypeScript.
Source: Microsoft Software Engineer Interview Question - Print A Matrix Spirally