Macy's interview question

All questions were really simple