CSCI 112 (formerly 15B)
Programming and Algorithms, II
for LOCAL STUDENTSremote students click here
NOTICES
Chico State Linux User's Group (CSLUG)
C++ Reference
STL Reference
General SYSTEMS Info
VISTA
course Pages (Grades, Calendar, bulletin board, etc.)
EXAM REVIEW
Course Syllabus
Lecture Notes
Labs (Programming Assignments)
Lab Activities
Code - Main & Savitch text
Sample Code (makefiles, templates, params, etc.)
Errata - Edition 3
RECURSION - Towers of Hanoi
Binary Tree Traversals - Online Tutorial Note: there are a couple typos, inadvertently referencing 'inorder' rather than pre or post
Also Note: without the "empty tree" checking, the code could be reduced to a simple base case, a process statement (in this case 'cout'), and two recursive calls. Any 'process' functionality could be substituted for the print statement.
If you have comments or suggestions, email me
at renner@ecst.csuchico.edu
|