Programming Topics:
Time complexity
space complexity
Recursion: -
Break down a complex problem into simpler versions of the problem itself.
ex. Factorial, Fibonacci series
4! = 4 * 3!
3! = 3 * 2!
Python notes - useful/handy libraries commands or features -
#set recursion limit -
import sys
# the setrecursionlimit function is used to modify the default recursion limit set by python. Using this, we can increase the recursion limit to satisfy our needs !
sys.setrecursionlimit(10**6)
Comments
Post a Comment