Algorythma interview question

On line Five Coding challenge