Dollar General interview question

Basic