Amazon Interview Question

can't discuss question here