Citi interview question

Questions about answers to the Codility challenge