•Algorithms vs. Data
Structures
–Algorithms tell the computer how to do something
–Data Structures are ways to store information so that certain algorithms can be used on that data
–e.g. Arrays, Linked-Lists, Stacks, Queues, Binary-Search Trees, Red-Black Trees, etc, etc.
–
•Data Structures always have two
parts:
–The data organization
–Operators (the algorithms defined for that data)