課程名稱 |
資料結構與演算法實務 Practical Data Structures and Algorithms |
開課學期 |
102-2 |
授課對象 |
生物資源暨農學院 生物機電工程學系 |
授課教師 |
陳倩瑜 |
課號 |
BME5010 |
課程識別碼 |
631 U1260 |
班次 |
|
學分 |
3 |
全/半年 |
半年 |
必/選修 |
選修 |
上課時間 |
星期二5(12:20~13:10)星期五5,6(12:20~14:10) |
上課地點 |
知武會議室知武會議室 |
備註 |
總人數上限:30人 |
Ceiba 課程網頁 |
http://ceiba.ntu.edu.tw/1022BME5010_PDSA |
課程簡介影片 |
|
核心能力關聯 |
本課程尚未建立核心能力關連 |
課程大綱
|
為確保您我的權利,請尊重智慧財產權及不得非法影印
|
課程概述 |
此一課程在於介紹多種常用之資料結構與相關演算法,增進修課學生的程式設計能力,以期未來能在不同領域實際應用。
每週課程計畫進度:
Chapter 1: Fundamentals introduces a scientific and engineering basis for comparing algorithms and making predictions. It also includes our programming model.
Chapter 2: Sorting considers several classic sorting algorithms, including insertion sort, mergesort, and quicksort. It also includes a binary heap implementation of a priority queue.
Chapter 3: Searching describes several classic symbol table implementations, including binary search trees, red-black trees, and hash tables.
Chapter 4: Graphs surveys the most important graph processing problems, including depth-first search, breadth-first search, minimum spanning trees, and shortest paths.
Chapter 5: Strings investigates specialized algorithms for string processing, including radix sorting, substring search, tries, regular expressions, and data compression.
Chapter 6: Context highlights connections to systems programming, scientific computing, commercial applications, operations research, and intractability.
|
課程目標 |
本課程將搭配程式編輯,介紹多種可使用的資料結構,引領學生了解現有演算法,解決實際問題。 |
課程要求 |
修過至少一種基本程式設計課程(any language is fine, ext. C, C++, Java, Perl, ...) |
預期每週課後學習時數 |
|
Office Hours |
|
指定閱讀 |
Algorithms
By: Robert Sedgewick; Kevin Wayne
Publisher: Addison-Wesley Professional
Pub. Date: March 09, 2011
Print ISBN-10: 0-321-57351-X
Print ISBN-13: 978-0-321-57351-3
Web ISBN-10: 0-13-276257-9
Web ISBN-13: 978-0-13-276257-1
Pages in Print Edition: 976
台大圖書館的電子書Safari Books online中有這本書!
作者網頁:
http://algs4.cs.princeton.edu
http://introcs.cs.princeton.edu |
參考書目 |
1. Bundle of Algorithms in Java, Third Edition, Parts 1-5: Fundamentals, Data
Structures, Sorting, Searching, and Graph Algorithms (3rd Edition) (Pts. 1-5)
2. Sanjoy Dasgupta, Christos H. Papadimitriou, and Umesh Vazirani, Algorithms,
McGraw-Hill, 2006. (http://www.cs.berkeley.edu/~vazirani/algorithms.html) |
評量方式 (僅供參考) |
No. |
項目 |
百分比 |
說明 |
1. |
程式作業 |
40% |
每週一次 |
2. |
期中考 |
30% |
|
3. |
期末考 |
30% |
|
|
週次 |
日期 |
單元主題 |
第1週 |
2/18,2/21 |
Introduction (投影片有更新2/18,15:20) <br>
Connectivity problem<br>
Java tutorial I (錄音檔在影音區, 公佈欄有提供連結) |
第2週 |
2/25,2/28 |
Analysis of Algorithms
(2/28 國定假日) |
第3週 |
3/04,3/07 |
Java tutorial II (錄音檔在影音區, 公佈欄有提供連結)<br>
Stacks and Queues<br>
Resizable stacks/queues |
第4週 |
3/11,3/14 |
Iterator<br>
Elementary Sorts |
第5週 |
3/18,3/21 |
Mergesort<br>
Comparator |
第6週 |
3/25,3/28 |
Quick sort<br>
Selection |
第7週 |
4/01,4/04 |
Quick selection<br>
Duplicate keys (4/04 國定假日) |
第8週 |
4/08,4/11 |
Priority queue <br>
Binary heap <br>
Heap sort <br>
Binary Search Trees |
第9週 |
4/15,4/18 |
Balanced Search Trees <br>
Applications of Balanced Search Trees |
第10週 |
4/22,4/25 |
Midterm (兩天都有考試,請準時出席) |
第11週 |
4/29,5/02 |
Balanced search trees <br>
Red-black trees |
第12週 |
5/06,5/09 |
Kd-trees |
第13週 |
5/13,5/16 |
Hashs |
第14週 |
5/20,5/23 |
Undirected Graphs |
第15週 |
5/27,5/30 |
Directed Graphs |
第16週 |
6/03,6/06 |
Minimum Spanning Trees |
第17週 |
6/10,6/13 |
Shortest Paths, String Sorting |
第18週 |
6/17,6/20 |
Final (6/17溫書,無課) (6/20 期末考) |
|