Tail recursion in python π
A recursive function is tail recursive when recursive call is the last thing executed by the function i.e the function returns a call to itself.
Why to care about tail-recursion?π€
The tail recursive functions considered better than naive functions a...
apoorvtyagi.tech5 min read
Ayushi Rawat
Exploring and Refactoring!
Nicely explained! Bookmarked!