Please check this code there is some problem in recursion function


please make some modification in my recursive function and don’t change the return type of function