본문으로 이동
Scientific Inference Lab
자료구조
Course Goals and
Structure
↗
Abstract Data
Types
↗
Data Abstraction
Operations and Semantics
ADT Specifications
Choosing an ADT
Data Abstraction and ADTs
Data Structure
Interfaces
↗
Interface and Specification
Representation and Work
Python Objects
Two Implementations
Interfaces and Implementations
Algorithm
Analysis
↗
Timing a Run
Counting Operations
Loops and Input Size
Python Operations
Running Time and Operation Counts
Asymptotic
Analysis
↗
Growth Rate
Asymptotic Bounds
Reading Code as a Function
Best Worst and Average
Growth Rates and Asymptotic Notation
Arrays and Indexed
Access
↗
Contiguous Storage
Backing Array
Cost of Shifting
What Arrays Are Good For
Arrays
Dynamic
Arrays
↗
Capacity and Resize
Amortized Cost
Inside Python Lists
Circular Arrays
Dynamic Arrays
Singly Linked
Lists
↗
Singly Linked Nodes
References and Aliasing
Linked-List Representation
Linked-List
Operations
↗
Linked List Traversal
Linked List Search
Linked List Updates
Linked-List Operations
Doubly Linked
Lists
↗
Doubly Linked Lists
Sentinel Nodes
Doubly Linked Lists
Arrays and Linked
Lists
↗
Arrays vs Linked Lists
Operation Mix
Arrays and Linked Lists
Stacks
↗
Stack ADT
Stack Expression Processing
Call Stack
Stacks
Queues and
Deques
↗
Queue ADT
Queue Simulations
Deque ADT
Queues and Deques
Hash Tables and
Chaining
↗
Hash Tables
Hash Functions
Separate Chaining
Hash Tables and Chaining
Open
Addressing
↗
Load Factor and Resizing
Open Addressing Probes
Tombstones
Open Addressing
Tree
Terminology
↗
Tree Vocabulary
Binary Trees
Tree Representations
Tree Terminology
Tree
Traversals
↗
Depth First Tree Traversals
Level Order Traversal
Parse Trees
Tree Traversals
Binary Search
Trees
↗
BST Ordering Invariant
BST Search
Binary Search Trees
BST Insertion and
Deletion
↗
BST Insertion
BST Deletion
BST Height
BST Insertion and Deletion
Heaps and Priority
Queues
↗
Priority Queue ADT
Binary Heaps
Heaps and Priority Queues
Heap
Operations
↗
Heap Update Operations
Heapify
Heap Sort
Heap Operations
AVL
Balance
↗
Skewed BSTs
AVL Balance
AVL Imbalance Detection
AVL Balance
AVL
Rotations
↗
Tree Rotations
AVL Insertion Rebalancing
Red Black Trees
AVL Rotations
Graphs and
Edges
↗
Graph Fundamentals
Paths and Reachability
Graph ADT
Graphs and Edges
Graph
Representations
↗
Adjacency Matrices
Adjacency Lists
Graph Density and Representation
Graph Representations
Graph
Traversal
↗
Breadth First Search
Depth First Search
Graph Traversal
Topological
Ordering
↗
Cycle Detection
Topological Ordering
Connected Components
Topological Ordering and Applications