Contents: CS2
From
Line 1: | Line 1: | ||
Introduction (needs to be written) | Introduction (needs to be written) | ||
- | == Data Structures == | + | == Data Structures and Abstract Data Types == |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | There is sometimes a difference made between a data structure and an abstract data type | + | A data structure is a means of organizing data in a computer’s memory to try to optimize either the memory needed or the time to access the data. This brings up the classic trade-off in Computer Science: the trade-off between Time and Space. In most situations today, it seems that we are primarily interested in minimizing the Time aspect. But, given smaller and smaller devices that increasingly do more (think of the evolution of the cell phone), minimizing the Space aspect can be important also. |
- | (ADT). An ADT describes the public interface of a data structure: the type of data and the | + | |
- | valid operations on the data. An ADT, however, does not consider an implementation, and | + | There is sometimes a difference made between a data structure and an abstract data type (ADT). An ADT describes the public interface of a data structure: the type of data and the valid operations on the data. An ADT, however, does not consider an implementation, and this is the essential difference. |
- | this is the essential difference. | + | |
== Topics == | == Topics == |
Revision as of 23:06, 24 March 2009
Introduction (needs to be written)
Data Structures and Abstract Data Types
A data structure is a means of organizing data in a computer’s memory to try to optimize either the memory needed or the time to access the data. This brings up the classic trade-off in Computer Science: the trade-off between Time and Space. In most situations today, it seems that we are primarily interested in minimizing the Time aspect. But, given smaller and smaller devices that increasingly do more (think of the evolution of the cell phone), minimizing the Space aspect can be important also.
There is sometimes a difference made between a data structure and an abstract data type (ADT). An ADT describes the public interface of a data structure: the type of data and the valid operations on the data. An ADT, however, does not consider an implementation, and this is the essential difference.
Topics
- Memory Allocation
- Asymptotic Measures
- Algorithms
- Primitive Structures
- Concept of an Element (Node)
- Abstract Data Types
- Linear Structures
- Trees
- Binary Trees
- Binary Search Trees
- AVL Trees
- Red-Black Trees
- Splay Trees
- Heaps
- B-Trees
- Graphs
- Un-ordered Collections
- Sets
- Maps and Dictionaries
- Hash Tables