Intropic interview question

There was a Code Test