Dollar Tree interview question

Simple questions about background