- Compiling an arithmetic expression which contains parenthesis or subscripted variables.
- Binary search algorithm--looking in a sorted list to determine if a particular element exists.
- Counting the number of unique paths from one corner of a grid to the diagonal corner of the grid when you must obey the following rules:
- you can only take step of length one,
- path can only contain a grid point once.
- A similar problem is determining path(s) through a maze.