Trader Joe's Interview Question

Difficult questions came from case scenarios