Codecademy - a web site where you can learn and
practice C++ coding.
HackerRank - another place to practice your C++ skills.
Computer Science Major
Check out the
road maps for completing the major in 4, 3.5, or 3 years.
Click on a tab at the bottom of the spreadsheet to change the number of years desired.
virtualV1.cpp - basic functions; we will use
virtual functions to get a different result.
hlist.cpp - heterogeneous
list example using virtual functions.
maxsubsequence.cpp - calculating maximum subsequence sum; first solution is O(n^3) and second version is O(n).
Sorting
sorting.mp4 - video of sorting routines in action.
Sort Visualizer - website
that shows visualizations of many sorting algorithms. Note that the
Bubble Sort implementation is not correct in both C (one error)
and C++ (two errors). Actually, all the implementations
(Java, JavaScript, and Python) are incorrect.
Always gotta watch out for stuff on the Interwebs!
AVL tree visualization - interactive visualization, but note that heights here are computed as the number of nodes from a root to the farthest leaf rather than the number of edges from a root to the farthest leaf.