Alignable interview question

They asked a simple technical question involving traversing an array