Amazon Interview Question

They followed the well known practice.