Trader Joe's Interview Question

How to handle situations with