Description
Recursion, a fundamental programming concept, empowers developers to solve complex problems elegantly and efficiently. However, excelling at recursion can be challenging due to its counterintuitive nature. This book is your comprehensive guide to understanding and applying recursion in your programming journey.
This book is a complete guide to understanding recursion, starting from the basics and moving to more complex topics. It explains what recursion is and how it is different from iteration, using easy examples like calculating the factorial of a number, raising numbers to a power, and the Fibonacci sequence. The book then goes into more advanced topics like backtracking, dynamic programming, and tree traversal. It shows how to break big problems into smaller, manageable parts and how to make solutions faster with memoization. Real-world examples like the knapsack problem and finding the shortest path in a network are included.
By the end of this book, readers will have a strong grasp of recursion, understanding not just how it works but also its practical applications. They will learn about Big O notation, which is crucial for evaluating the performance and efficiency of algorithms. Additionally, they will become familiar with function stacks, which play a vital role in understanding how recursive calls are managed in memory.
Key Features
● Master recursion fundamentals and apply them to real-world problems.
● Explore advanced recursion techniques and optimization strategies.
● Gain hands-on experience with practical recursion examples.
What you will learn
● Understand the basics of recursive algorithms and their nature.
● Learn to plan, write, and stop recursion with boundary conditions.
● Analyze recursive algorithm efficiency using Big O notation.
● Differentiate between classical recursion and backtracking techniques.
● Optimize recursion with memorization to improve performance.
Who this book is for
The target audience for this book includes any programmer or engineer from diverse professional or academic backgrounds. This book can also be resourceful for anyone who wants to take programming industry job interviews, where often some basic recursive questions are asked to be solved quickly on site.
Table of Contents
1. Introduction
2. What is Recursion?
3. Recursion as the Architect
4. Factorial and Power
5. Fibonacci Sequence
6. Climbing Stairs
7. Edit Distance
8. Paint Bucket
9. Permutation
10. Knapsack 0/1
11. Eight Queens
12. Finding Path
13. Tree Traversal
14. Shortest Route
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
EUR 17,10 per la spedizione da U.S.A. a Italia
Destinazione, tempi e costiEUR 7,70 per la spedizione da U.S.A. a Italia
Destinazione, tempi e costiDa: California Books, Miami, FL, U.S.A.
Condizione: New. Codice articolo I-9789365891348
Quantità: Più di 20 disponibili
Da: PBShop.store US, Wood Dale, IL, U.S.A.
PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo M0-9789365891348
Quantità: 1 disponibili
Da: BargainBookStores, Grand Rapids, MI, U.S.A.
Paperback or Softback. Condizione: New. Think in Recursion in Algorithmic Programming: Write recursive computer algorithms to solve complex problems (English Edition) 1.14. Book. Codice articolo BBS-9789365891348
Quantità: 5 disponibili
Da: PBShop.store UK, Fairford, GLOS, Regno Unito
PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo M0-9789365891348
Quantità: 1 disponibili
Da: Rarewaves USA, OSWEGO, IL, U.S.A.
Paperback. Condizione: New. Codice articolo LU-9789365891348
Quantità: Più di 20 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: New. Codice articolo 48226784-n
Quantità: Più di 20 disponibili
Da: Ria Christie Collections, Uxbridge, Regno Unito
Condizione: New. In. Codice articolo ria9789365891348_new
Quantità: Più di 20 disponibili
Da: Rarewaves USA United, OSWEGO, IL, U.S.A.
Paperback. Condizione: New. Codice articolo LU-9789365891348
Quantità: Più di 20 disponibili
Da: Rarewaves.com UK, London, Regno Unito
Paperback. Condizione: New. Codice articolo LU-9789365891348
Quantità: Più di 20 disponibili
Da: GreatBookPrices, Columbia, MD, U.S.A.
Condizione: As New. Unread book in perfect condition. Codice articolo 48226784
Quantità: Più di 20 disponibili