Amazon interview question

Debugging, DSA based problem solving