CHAPTER 73 — More Recursion

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.

created: 01/01/2003; revised: 07/22/06

CHAPTER 73 — More Recursion

This chapter contains additional examples of recursion. Most of this chapter is advanced material that may be safely deferred until later. But going through it now will reenforce your understanding of recursion.

Chapter Topics:

  • Pyramidal Numbers
  • More on Activation Chains
  • Recursive String Equality

QUESTION 1:

How many sides does the base of a pyramid have?