Contents: CS2

From

(Difference between revisions)
Jump to: navigation, search
(Algorithms)
(Preliminaries of Data Organization)
Line 21: Line 21:
<br/>
<br/>
-
== Preliminaries of Data Organization ==
+
== Preliminaries of Data Organization ==  
-
<br/>
+
*[[Memory Allocation|Memory Allocation]]  <br/>  
*[[Memory Allocation|Memory Allocation]]  <br/>  
*[[Primitive Structures|Primitive Structures]]  <br/>  
*[[Primitive Structures|Primitive Structures]]  <br/>  
Line 28: Line 27:
*[[Abstract Data Types|Abstract Data Types]]  <br/>  
*[[Abstract Data Types|Abstract Data Types]]  <br/>  
<br/>
<br/>
 +
== ADTs and Data Structures ==
== ADTs and Data Structures ==
  <br/>  
  <br/>  

Revision as of 15:52, 26 March 2009

Introduction (needs to be written)

Contents

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.

Introduction to Computability and Complexity



Algorithms



Preliminaries of Data Organization


ADTs and Data Structures


Linear Structures



Trees

  1. Binary Trees
  2. Binary Search Trees
  3. AVL Trees
  4. Red-Black Trees
  5. Splay Trees
  6. Heaps
  7. B-Trees

Graphs


Un-ordered Collections


  1. Sets
  2. Maps and Dictionaries
  3. Hash Tables


Personal tools
MediaWiki Appliance - Powered by TurnKey Linux