Amazon interview question

Solve Array Problems and determine the complexity

Interview Answer

Anonymous

Aug 3, 2021

I was done with problem but it was not an efficient code.