Top down solution of vacation problem

please provide top down solution of vacation problem.