Amazon interview question

Debugging the test cases using AI