Prof Long QUAN, quan@cse.ust.hk, office 3506
Teaching assistants:
Yu Hang CHOW
Ding PAN
Qi ZHANG
|
Week |
Date |
Topics |
Slides (codes) |
|
1 |
2 Sep |
Introduction |
|
|
4 Sep (1st assignment) |
|||
|
2 |
9 Sep |
Functions Function overloading Reference |
reference.ppt |
|
11 Sep |
|||
|
3 |
16 sep |
Algorithms Search and sort Recursion Algorithm analysis |
array 2/2 |
|
18 sep |
|||
|
4 |
23 sep (mixed-mode, lecture room and zoom) |
Sorting algorithms Data structures Pointers and
dynamic Data Concept of lists and linked lists |
pointer.ppt
2/2 (as dynamic objects) |
|
25 sep (2nd assignment) |
|||
|
5 |
30 sep |
||
|
2 oct |
|||
|
6 |
|
Local/global scope |
|
|
9 oct |
|||
|
7 |
14 oct |
Object-Oriented Programming Basic Object-Oriented Programming (OOP): classes Abstract data type (ADT) Dynamic
classes Fundamental
Data Structure: |
|
|
16 oct |
|||
|
8 |
21 oct (in-class midterm, two hours from 10:30am to 12:20pm) |
Mid-term exam week |
|
|
23 oct (in-class midterm check-up, no lecture) (3rd assignment) |
|||
|
9 |
28 Oct |
Operator
overloading, Part 1 |
Part
2 of overloading |
|
30 Oct |
|||
|
10 |
4 Nov |
More
on classes: -
static members - member initializer Generic Programming: File organization: Separate compilation |
separateCompilation |
|
6 Nov |
|||
|
11 |
11 Nov |
More on data structures and applications: - stacks - queues Applications: bucket and radix sort Standard Template Library (STL) (vector, list, deque, stack, queue (string)) Inheritance |
STL |
|
13 Nov (3rd assignment due, 4th assignment) |
|||
|
12 |
18 nov |
Polymorphism Non-linear data structures Balanced BST binary search tree: AVL trees |
|
|
20 nov |
|||
|
13 |
25 nov (4th assignment due) 27 Nov ( The Last Lesson) |
Heaps, Heap sort, priority
queue
Graphs, Breadth-first-search and depth-first-search of graphs (not Part II of dfs, not topological sort) Hashing |
|
|
Final exam: Friday, 12 Dec 8:30am-11:30, 4620 |
|
||