Amazon Interview Question

at least one case per interview