Checkpoint interview question

Array manipulation and input validation