Guidewire Interview Question

Basic tree question