Victory Live interview question

Generic coding challenge, not too easy or too hard.