Zignal Labs interview question

Easy programming question