Amazon Interview Question

Identify the bug in this piece of code.

Interview Answer

Anonymous

Feb 18, 2024

Found the bug and gave the solution.