If , i am using nested loop in base case(say for printing somthing which takes O(n^2),
and my recursive call are linear in time (say for ex. printing natural no till n, takes O(n) from recursion )
what will be my overall complexity ?
will it be (n+n^2) or (n*n^2)