Tail recursion in Python


#1

A recursive solution in python does not work for long inputs, It says “recursion depth exceeded”. An iterative solution in Python is faster than a recursive solution!
Hope something related to this is mentioned in the question :slight_smile: