UKG Interview Question

This was a coding test