Hey could you please help me to know about the time and space complexity for this?
Time And Space Complexity
Hello @agarwal.priyanshu98,
For what? Which question?
There are separate methods to compute time complexity of recurrence relations:
hope, this would help.