Accellor interview question

Trigger Recursion and how to handle?