Help with time complexity of a problem.

Revision en1, by ab2310, 2021-05-10 12:27:43

This is the problem statement:

This problem can be solved using plain recursion, but I am not sure of its time complexity or how to figure it out. Any anyone help with this?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ab2310 2021-05-10 12:27:58 2 Tiny change: ' statement: ](https://' -> ' statement](https://'
en1 English ab2310 2021-05-10 12:27:43 271 Initial revision (published)