13

Recursion

KNOWLEDGE GOALS

Image   To understand the concept of a recursive definition.

Image   To understand the difference between iteration and recursion.

Image   To understand the distinction between the base case(s) and the general case in a recursive definition.

SKILL GOALS

To be able to:

Image  Write a recursive algorithm for a problem involving only simple ...

Get Programming and Problem Solving with C++: Brief, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.