Beruflich Dokumente
Kultur Dokumente
Final Remarks
Department of Computer
Science and Engineering
The Chinese University of Hong
Kong, Shatin, New Territories
Interesting Topics
Dynamic Programming
CSC2100B - I. King
CSC2100B - I. King
Final Examination
CSC2100B - I. King
Implementation:
Specifications:
How to actually
make it work!
Description of the
function.
CSC2100B - I. King
Lower bound
Upper bound
Exact bound
Big-O notation
Common
orders
CSC2100B - I. King
Mathematical
Analysis
Abstract Data Type
10
Mathematical
Analysis
Basic data
structures found
in many programs.
How can we
combine these
data structures?
CSC2100B - I. King
11
Trees
Binary Trees
Binary Search
Trees
B-Tree
AVL Tree
Mathematical
Analysis
Abstract Data Type
List, Stacks, &
Queues
Tree is a very
efficient data
structure to store
information.
Variations on
the tree can be
used in different
algorithms.
Trees
CSC2100B - I. King
12
Hashing DS
Hashing
Functions and
Techniques
Collision
Policies
Mathematical
Analysis
Abstract Data Type
List, Stacks, &
Queues
Hashing is a way
to transform
objects in one
domain into
another domain.
It is efficient to
locate an object,
but cant keep the
ordering.
Trees
Hashing
CSC2100B - I. King
13
Heap DS
Insertion
Deletion
Initialization
Mathematical
Analysis
Abstract Data Type
List, Stacks, &
Queues
Heap is a
priority list which
is most efficient
when a priority is
needed.
It has a relative
ordering, but not
an exact one.
Trees
Hashing
Heaps
CSC2100B - I. King
14
Bubble Sort
Insertion Sort
Selection Sort
Heap Sort
Shell Sort
Sorting
Algorithms
Sorting is a very
important topic.
Mathematical
Analysis
Merge Sort
Quick Sort
Trees
Stability issues.
Invariant in the
Quick Sort.
Hashing
Heaps
CSC2100B - I. King
15
Sorting
Algorithms
Adjacency
Matrix
Definition of
Connectivity
Topological Sort
Shortest Path
Minimum Cost
Spanning Tree
Maximum Flow
Mathematical
Analysis
Abstract Data Type
List, Stacks, &
Queues
Trees
Graph Data
Structures and
Algorithms
Graph DS
Graph
Theory is
important in
many areas of
CS.
Important
to know the
exact way to
express the
algorithm on
graphs.
Hashing
Heaps
CSC2100B - I. King
16
Examination Questions
Hashing
CSC2100B - I. King
18
Examination Questions
Sorting
Graph Theory
CSC2100B - I. King
19
Others
CSC2100B - I. King
20
CSC2100B - I. King
21