An accessible yet rigorous crash course on recursive programming using Python and JavaScript examples. Recursion has an intimidating reputation: itβs considered to be an advanced computer science topic frequently brought up in coding interviews. But thereβs nothing magical about recursion. The
The Recursive Book of Recursion
β Scribed by Al Sweigart
- Year
- 2022
- Tongue
- English
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
An accessible yet rigorous crash course on recursive programming using Python and JavaScript examples.
Recursion has an intimidating reputation: itβs considered to be an advanced computer science topic frequently brought up in coding interviews. But thereβs nothing magical about recursion.
The Recursive Book of Recursion uses Python and JavaScript examples to teach the basics of recursion, exposing the ways that itβs often poorly taught and clarifying the fundamental principles of all recursive algorithms. Youβll learn when to use recursive functions (and, most importantly, when not to use them), how to implement the classic recursive algorithms often brought up in job interviews, and how recursive techniques can help solve countless problems involving tree traversal, combinatorics, and other tricky topics.
This project-based guide contains complete, runnable programs to help you learn:
How recursive functions make use of the call stack, a critical data structure almost never discussed in lessons on recursion
How the head-tail and βleap of faithβ techniques can simplify writing recursive functions
How to use recursion to write custom search scripts for your filesystem, draw fractal art, create mazes, and more
How optimization and memoization make recursive algorithms more efficient
Al Sweigart has built a career explaining programming concepts in a fun, approachable manner. If youβve shied away from learning recursion but want to add this technique to your programming toolkit, or if youβre racing to prepare for your next job interview, this book is for you.
π SIMILAR VOLUMES
An accessible yet rigorous crash course on recursive programming using Python and JavaScript examples. Recursion, and recursive algorithms, have a reputation for being intimidating. They're seen as an advanced computer science topic often brought up in coding interviews. Moreover, coders often pe
<b>Memory makes reality.</b><br /><br />Thatβs what New York City cop Barry Sutton is learning as he investigates the devastating phenomenon the media has dubbed False Memory Syndromeβa mysterious affliction that drives its victims mad with memories of a life they never lived.<br /><br />That's what