Amazon interview question

Solve Array Problems and determine the complexity

Interview Answer

Anonymous

3 Aug 2021

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