Lecture I | Lecture II | Tutorial I | Tutorial II | |
---|---|---|---|---|
Time | M5, 12:30 pm - 1:15 pm | W3-4, 10:30 am - 12:15 pm | M10 5:30 pm - 6:15pm | W8 3:30 pm - 4:15 pm |
Venue | ERB LT | LSK LT5, LSK LT3 | ERB 407 | ERB 404 |
The Golden Rule of CSCI2100: No member of the CSCI2100 community shall take unfair advantage of any other member of the CSCI2100 community.
The Student/Faculty Expectations on Teaching and Learning document is available [here].
The concept of abstract data types and the advantages of data abstraction are introduced. Various commonly used abstract data types including vector, list, stack, queue, tree, and set and their implementations using different data structures (array, pointer based structures, linked list, 2-3 tree, B-tree, etc.) will be discussed. Sample applications such as searching, sorting, etc. will also be used to illustrate the use of data abstraction in computer programming. Analysis of the performance of searching and sorting algorithms. Application of data structure principles.
本科介紹抽象數據類型之概念及數據抽象化的優點。並討論多種常用的抽象數據類型,包括向量、表格、堆棧、隊列、樹形;集(合)和利用不同的數據結構(例如:陣列、指示字為基的結構、連接表、2-3樹形、B樹形等)作出的實踐。更以實例(例如:檢索、排序等)來說明數據抽象化在計算機程序設計上的應用。並討論檢索與排序算法及數據結構之應用。
Lecturer | Tutor 1 | Tutor 2 | Tutor 3 | Tutor 4 | |
---|---|---|---|---|---|
Name | Irwin King | Chen Cheng (Robbie) | Xin Huang | Zhengwei Yang | Hongyi Zhang |
king AT cse.cuhk.edu.hk | ccheng AT cse.cuhk.edu.hk | xhuang AT cse.cuhk.edu.hk | zwyang AT cse.cuhk.edu.hk | hyzhang AT cse.cuhk.edu.hk | |
Office | SHB 908 | SHB 1024 | SHB 117 | SHB1023 | SHB 1024 |
Telephone | 3943 8398 | ||||
Office Hour(s) | * M8, Monday 3:30 to 4:30 * T8, Tuesday 3:30 to 4:30 * By appointment | Wednesday 3:30 to 4:30 | Friday 9:30 to 10:30 | Monday 9:30 to 10:30 | Thursday 3:30 to 4:30 |
Note: This class will be taught in English. Homework assignments and examinations will be conducted in English.
The pdf files are created in Acrobat XI. Please obtain the correct version of the Acrobat Reader from Adobe.
Week | Date | Lecture Topics and Notes | Tutorial Topics | Homework Assignments and Events | Resources |
---|---|---|---|---|---|
1 | 5/1 | Introduction 01-Introduction.pdf | Introduction of C | * Reading assignment: Chapter 1 of Weiss'97 and Chapter 1 of Cormen et al.'90 * WA #1 Version 1.19 Due on or before 5:00 pm, Friday, Jan 16, 2015 * 1.1 (5), (8), and (13); 1.3 (5) and (8); 1.4 (3) and (5) | TBA |
2 | 12/1 | Algorithm Analysis 02-Analysis.pdf | I/O Issues in C | * Reading assignment: Chapter 2 of Weiss'97 * Introduction of Online Judge System | Non-CSE SSH Login |
3 | 19/1 | 1. Algorithm Analysis 2. Lists, Stacks and Queues Maximum Subsequence Sum Problem.pdf 03-LSQ.pdf | Introduction to VIM | * Reading assignment: Chapter 3 of Weiss'97 * WA #2 Version 1.19 Due on or before 5:00 pm, Friday, Jan 30, 2015 * 1.6 (2), (4), and (6); 1.8 (3); 1.9 (3) and (4) * PA #1 From 12:00 am, Thursday, Jan 22, 2015 to 11:59 pm, Monday, Jan 26, 2015 1.15 (Problem 1), 1.19 (Problem 2) | Video List: Jill Rides Again ADT Lists Stacks Queues |
4 | 26/1 | 1. Lists, Stacks and Queues 2. Tree Data Structures and Algorithms 04-Trees.pdf | Lists, Stacks and Queues in C | * Reading assignment: Chapter 3 of Weiss'97 * PA #2 From 12:00 am, Monday, Feb 2, 2015 to 11:59 pm, Sunday, Feb 8, 2015 2.16 (Problem 1), 2.18 (Problem 2, a small one, n< =1,000), 2.18 (Problem 3, a large one, n< =1,000,000, use “long long” and ”%lld”, see announcement for details) | TBA |
5 | 2/2 | Tree Data Structures and Algorithms | Queues and Trees in C | * Reading assignment: Chapter 4 of Weiss'97 * WA #3 Version 1.19 Due on or before 5:00 pm, Tuesday, Feb 17, 2015 * 3.3 (2); 3.9; 3.10; 3.11; 3.18; 5.1; 5.2; | TBA |
6 | 9/2 | 1. Tree Data Structures and Algorithms 2. Heaps 06-Heaps.pdf | Binary and AVL Tree in C | * Reading assignment: Chapter 6 of Weiss'97 * PA #3 From 12:00 am, Wednesday, Feb 25, 2015 to 11:59 pm, Sunday, Mar 1, 2015 3.24 (Problem 1), 3.35 (Problem 2) | |
7 | 16/2 | Heaps Public Holiday (Wednesday) | Heaps in C | TBA | TBA |
8 | 23/2 | Public Holiday (Monday) Hash Functions 05-Hash.pdf | Heaps in C | * Reading assignment: Chapter 5 of Weiss'97 | TBA |
9 | 2/3 | Midterm Written Exam | No Tutorials | TBA | TBA |
10 | 9/3 | Sorting Algorithms 07-Sorting.pdf | Written Mid-term Answers | * Reading assignment: Chapter 7 of Weiss'97 * WA #4 Version 1.19 Due on or before 5:00 pm, Friday, Mar 20, 2015 * 4.1; 4.14; 6.1; 6.2; 6.6(2) | |
11 | 16/3 | Sorting Algorithms | Hash | * PA #4 | TBA |
12 | 23/3 | Graph Data Structures and Algorithms 08-Graphs.pdf | Quicksort and Mergesort | Programming Midterm Tips Programming midterm paper 2013 Term 1 } |
|
13 | 30/3 | Graph Data Structures and Algorithms Programming Midterm | No Tutorials | * WA #5 Version 1.20 Due on or before 5:00 pm, Friday, April 17, 2015 * 7.1; 7.3; 7.4; 7.5 (1); | |
14 | 6/4 | Public Holiday (Monday) Graph Data Structures and Algorithms | TBA | TBA | TBA |
15 | 13/4 | 1. Advanced Topics 2. Course Summary Courser Summary.pdf | TBA | TBA |
Tutorial Page
Manual Page
Time | Venue | Notes | |
---|---|---|---|
Midterm Examination Written | Wednesday, 4 March 2015 10:30 AM to 12:30 PM | SWH 2 (117) AU to KIM YIA LT2 (248) LAI to ZHANG | One sheet of notes |
Midterm Examination Programming | Thursday, 2 April 2015 6:30 pm to 9:30 pm | SHB 924 | Printed out materials only. |
Final Examination | Thursday, 23 April 2015 3:30 pm to 5:30 pm | Thomas H C Cheung Gymnasium, UC | One sheet of notes |
Final Examination (Written) | Midterm Examination (Written Part) | Midterm Examination (Programming Part) | Assignments & Quizzes |
---|---|---|---|
50% | 10% | 20% | 20% |
Note: One must solve at least one problem in the programming examination to pass the course.
failed to fetch data: Could not connect to ecs.amazonaws.com:80
Connection timed out (110)
failed to fetch data: Could not connect to ecs.amazonaws.com:80
Connection timed out (110)
failed to fetch data: Could not connect to ecs.amazonaws.com:80
Connection timed out (110)