Guidewire interview question

Didnt pass the coing test