Representing the Problem in Arrays