TLE shown in editor

when doing the code with recursion why is the editor showing tle??

Hey Akshay, TLE is time limit error this is shown when your code is stuck in some infinite loop or your code is taking more time for execution than the allotted time for that particular question, in this case you have to optimize the time complexity of your code.