Lime Interview Question

Some simple swift coding challenge.