Lime interview question

Some simple swift coding challenge.