AppFolio Interview Question

Traversal of an array