Master the Concepts of Recursion with Python (Point 72)
Recursion is one of those topics that seems like black magic to beginner programmers or freshman computer science students. This coding session will shine light on the supposed elegance of recursive algorithms in Python and show when a recursive solution is useful and when it is not. It will be shown how recursion differs from […]
Recursion is one of those topics that seems like black magic to beginner programmers or freshman computer science students. This coding session will shine light on the supposed elegance of recursive algorithms in Python and show when a recursive solution is useful and when it is not. It will be shown how recursion differs from iteration, how to convert a recursive algorithm into an iterative one and vice versa. We are going to test classic recursion algorithms, backtracking and tree traversal algorithm, also touch the topic of memoization to optimize recursive functions and sort out some practical examples of how to use recursion in parsing xml and json data.
90 min coding session