Recursive Book of Recursion

Recursive Book of Recursion

Paperback
Sale price  Rs. 3,348.00 Regular price  Rs. 3,939.00
Skip to product information
Recursive Book of Recursion

Recursive Book of Recursion

By: Al Sweigart |  Publisher: No Starch Press |  Year: 2022

ISBN: 9781718502024

MRP: Rs. 3,939.00

You Pay: Rs. 3,348.00

You save: Rs. 591.00 ( 15% )

MRP: Rs. 3,939.00

You Pay: Rs. 3,348.00

You save: Rs. 591.00 ( 15% )

MRP: Rs. 3,939.00

You Pay: Rs. 3,151.00

You save: Rs. 788.00 ( 20% )

Usually ships in 2-3 days

Reward points: 33 points

🌍 Ships Worldwide

Available for delivery worldwide.

Book Type

Description

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.

About the Author

Al Sweigart is a software developer and tech book author living in Houston. Python is his favorite programming language, and he is the developer of several open source modules for it. His other books are freely available under a Creative Commons license on his website at https://www.inventwithpython.com/.

Table of contents

Foreword

Acknowledgments

Introduction

PART I: UNDERSTANDING RECURSION

Chapter 1: What Is Recursion?

Chapter 2: Recursion vs. Iteration

Chapter 3: Classic Recursion Algorithms

Chapter 4: Backtracking and Tree Traversal Algorithms

Chapter 5: Divide-and-Conquer Algorithms

Chapter 6: Permutations and Combinations

Chapter 7: Memoization and Dynamic Programming

Chapter 8: Tail Call Optimization

Chapter 9: Drawing Fractals

PART II: PROJECTS

Chapter 10: File Finder

Chapter 11: Maze Generator

Chapter 12: Sliding-Tile Solver

Chapter 13: Fractal Art Maker

Chapter 14: Droste Maker

Book Details
Author Al Sweigart
Publisher No Starch Press
ISBN-13 9781718502024
Year 2022
Pages 328
Binding Paperback
Edition First
Country of Origin USA

You may also like