How to solve a stack overflow error in recursive call

welcome to shbcf.ru