GoHealth interview question

Some code challenge