Sorry, meant to ask if it must be recursive.

Any other details that can help us understand?