<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

The far side of recursion

Betöltés ...
Bélyegkép

Folyóirat címe

Folyóirat ISSN

Kötet címe (évfolyam száma)

Kiadó

Absztrakt

Recursion is somewhat of an enigma, and examples used to illustrate the idea of recursion often emphasize three algorithms: Towers of Hanoi, Factorial, and Fibonacci, often sacrificing the exploration of recursive behavior for the notion that a "function calls itself". Very little effort is spent on more interesting recursive algorithms. This paper looks at how three lesser known algorithms of recursion can be used in teaching behavioral aspects of recursion: The Josephus Problem, the Hailstone Sequence and Ackermann's Function.

Leírás

Forrás

Teaching Mathematics and Computer Science, Vol. 13 No. 1 (2015) , 57-71

Jóváhagyás

Áttekintés

Kiegészítve

Hivatkozik rá

Jogok és engedélyezések

Open Access
Michael A. Wirth