How to create this recursive method.

Printable View