Informatica interview question

Kata with java in which you needed to use recursion