Think in Recursion in Algorithmic Programming
eBook - ePub

Think in Recursion in Algorithmic Programming

Write recursive computer algorithms to solve complex problems (English Edition)

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Think in Recursion in Algorithmic Programming

Write recursive computer algorithms to solve complex problems (English Edition)

About this book

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

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Think in Recursion in Algorithmic Programming by Dr. Fang Jin in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. Acknowledgement
  7. Preface
  8. Table of Contents
  9. 1. Introduction
  10. 2. What is Recursion?
  11. 3. Recursion as the Architect
  12. 4. Factorial and Power
  13. 5. Fibonacci Sequence
  14. 6. Climbing Stairs
  15. 7. Edit Distance
  16. 8. Paint Bucket
  17. 9. Permutation
  18. 10. Knapsack 0/1
  19. 11. Eight Queens
  20. 12. Finding Path
  21. 13. Tree Traversal
  22. 14. Shortest Route
  23. Index