Recursion

Pseudocode Examples

Good Uses of Recursion

Recursive Data Structure

   def: recursive string S

   1. if S is empty

        or

   2. if S is made up of a single char, followed by S` and S` is a string


      "abc"

      'a' "bc"

      'b' "c"

          ""

Return to CIS 350 Index Page