Rajesh Kumar
Nov 24, 2021

--

Thanks for pointing out. For calculating a factorial time complexity will be O(n). We calculate the time complexity of a recursion algorithm using the recurrence relation.

--

--

Rajesh Kumar
Rajesh Kumar

Written by Rajesh Kumar

Love to write about life, technology and things that matter.

No responses yet