Guide to Java pp 245-266 | Cite as

Recursion

  • James T. Streib
  • Takako Soma
Chapter
Part of the Undergraduate Topics in Computer Science book series (UTICS)

Abstract

This chapter examines recursion using contour diagrams. The power function and Fibonacci numbers are used as examples. In addition to contour diagrams, stack frames and a tree of calls are shown as alternative ways of visualizing the recursive process. As with other chapters, a complete program is provided.

Keywords

Hunt 

Reference

  1. 4.
    Streib JT (2011) Guide to assembly language: a concise introduction. Springer, LondonGoogle Scholar

Copyright information

© Springer-Verlag London 2014

Authors and Affiliations

  • James T. Streib
    • 1
  • Takako Soma
    • 1
  1. 1.Department of Computer ScienceIllinois CollegeJacksonvilleUSA

Personalised recommendations