Macy's Interview Question

I was asked if I could do math