Difference between revisions of "DataStructures"
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
./simple-hash.exe | ./simple-hash.exe | ||
</pre> | </pre> | ||
+ | |||
+ | [[Image:50pxHashTable.png|300px|thumbnail|none|A hash table mapping names to phone numbers.]] | ||
=Trees= | =Trees= |
Revision as of 17:49, 24 February 2010
'Data Structures: starting to designing your program'
Introduction
svn co http://soutce.ggy.bris.ac.uk/subversion-open/data-structures/trunk ./data-structures
Stacks
cd examples/example1 make ./simple-stack.exe
Linked Lists
cd ../example2 make ./simple-LL.exe
Hash Tables
cd examples/example1 make ./simple-hash.exe
Trees
http://en.wikipedia.org/wiki/Quadtree