Rite Aid Interview Question

how I managed