Dollar Tree Interview Question

Simple questions about background