Guidewire interview question

Technocal question on codility. Basically is regarding recussive