Rakuten Interview Question

What is the advantage of recursion?