Amazon Interview Question

Debugging, coding. (All quite limited in time)