Amazon interview question

Coding question. 1. Given an array N*N rotate it by 90 degrees.

Interview Answer

Anonymous

Dec 6, 2023

He gave me time to think and i solved it . and he gave me sample input and told me to explain the code with the help of the sample input. At first he gave me a simple input and then he gave a complex one where i got confused . And he asked me about my projects.