LeewayHertz Interview Question

spiral matrix