Top-Down Recursion: A New Way of Thinking

A Common-Sense Guide to Data Structures and Algorithms, Second Edition — Pragmatic Programmers (107 / 226)

👈 Recursive Category: Calculations | TOC | The Staircase Problem 👉

This brings us to the central point of this chapter: recursion shines when implementing a top-down approach because going top down offers a new mental strategy for tackling a problem. That is, a recursive top-down approach allows one to think about a problem in a completely different way.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store