Infineon Technologies Interview Question

Print Spiral view of Matrix.