Amazon Interview Question

I cannot share those here.