C and C++ Files File Description Reference ---- ----------- --------- BIN_TREE.C Determines whether 2 binary Algorithm 7.8.13 trees are isomorphic closest_pair.cpp Finds the closest pair Algorithm 11.1.2 of points in the plane EXPOMOD.C Computes a^n mod z Example 3.7.3 GRAHAM.C Finds the convex hull using Algorithm 11.3.6 Graham's algorithm GRAPH_GE.C Generates random graphs Chapters 6 and 7 (See opening comment in file for details) HAMILTON.C Backtracking algorithm that Sections 6.3 and 7.3 determines whether a graph has a Hamiltonian cycle ISOM.C Backtracking algorithm that Sections 6.6 and 7.3 determines whether 2 graphs are isomorphic NQUEENS.C Solves the n-queens problem Algorithm 7.3.10 PERM.C Generates permutations Algorithm 4.3.14 PRIM.C Prim's algorithm to find a Section 7.4 minimal spanning tree TOWER.C Tower of Hanoi Example 5.1.8 TROM.C Tromino tiling (text version) Algorithm 3.4.4 WALK.C Robot walking (Fibonacci Algorithm 3.4.7 sequence)