https://ide.codingblocks.com/s/51350 in this recusion question my two test cases is pass but one is give run error what wrong with my code…kindly please debug…and also tell me what did i wrong
Recursion problem r9- search at last
Hey Neeraj, check the constraints mentioned in the problem carefully, it is given that no. can be of range 10^9 , so you need to take the data type as long long int instead of int.