Data Structures Algorithm PDF
Data Structures Algorithm PDF
Edge
Path
Height
post-order
BST: log n Traversal Depth first search
get Tree pre-order
list: 1
dict: 1 in-order
search
BST: log n
operations on Data object
list: (n + k)
insert Binary Tree
dict: 1 Array
set
Binary Search Tree (BST)
Singly linked list/ Doubly linked list
del types Balanced Binary Tree (AVL)
Hash table
list: nlogn Binary Heap
sort Stack
Queue
Data structures Deque
Sorted list
Hash table
Tree
Grap
Node - Vertex with key (name) that can have payload (value)
terms
Edge (directed or undirected) - Arc
all built-in primitive data types are in fact ADT
Time
Asymptotic notation
Analysis
Bubble
exp: Map ADT implemented as
Binary Search Tree (BST) Selection
Balanced Binary Tree (AVL) Data structures
Sorted list
Hash table Insertion adjacency map
Sort Shell
Array, Singly Linked List, Double Linked List, Binary Tree, AVL, Hash Table, Tree, Graph
Iterative