Guidewire interview question

Coding on white board and IDE