Amazon interview question

Coding problems relating mainly focusing on DSA