阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)-資料結構
> 103年 - 103 淡江大學 轉學考 資料結構#53188
103年 - 103 淡江大學 轉學考 資料結構#53188
科目:
研究所、轉學考(插大)-資料結構 |
年份:
103年 |
選擇題數:
0 |
申論題數:
10
試卷資訊
所屬科目:
研究所、轉學考(插大)-資料結構
選擇題 (0)
申論題 (10)
【已刪除】Notice : Please make your answers as clear and readable as possible 1. The intermediate results of a sorting process are shown below. Please indicate which sorting method is used and explain why. (20%)
(a) Please explain sequential search and binary search.
(b) Please discuss their time complexities. (20%)
(a) Give two properties of a good hashing function.
(b) Give a good hashing function.
(c) Define linear probing.
(d) Define chaining. (20%)
(a) Nine integers are inserted into an empty max heap in the following order. Please draw the final max heap. The properties of the max heap must be kept after each integer is inserted. 50, 43,38,82, 94, 16, 25,45, 56
(b) With the following declaration, please give the algorithm for inserting an integer (a node) into a max heap. You may define and use the necessary parameters. int heap [MAX—SIZE]; /* MAX—SIZE is the maximum heap size */ (20%)
5. The order of the nodes visited in a binary tree T using preorder traversal is F, A, H,I,B, L,J,E, D,G, K, C, M. If inorder traversal is used, it is H, I,A, L,B,J, F, D, G, E, K, M, C. Please draw the binary tree T. (20%)
相關試卷
115年 - 115 國立臺北大學_日間學士班轉學生招生考試試題_資訊工程學系日間學士班3年級:資料結構#147430
115年 · #147430
115年 - 115 國立嘉義大學_碩士班招生考試試題_資訊工程學系:資料結構#143912
115年 · #143912
114年 - 114 國立嘉義大學_碩士班招生考試試題_資訊工程學系:資料結構#144138
114年 · #144138
113年 - 113 國立臺北大學_日間學士班轉學生招生考試試題_資訊工程學系日間學士班3年級:資料結構#147432
113年 · #147432
113年 - 113 國立嘉義大學_碩士班招生考試試題_資訊工程學系:資料結構#144167
113年 · #144167
112年 - 112 國立臺北大學_日間學士班轉學生招生考試試題_資訊工程學系日間學士班3年級:資料結構#147429
112年 · #147429
112年 - 112 國立嘉義大學_碩士班招生考試試題_資訊工程學系:資料結構#144165
112年 · #144165
111年 - 111 國立嘉義大學_碩士班招生考試試題_資訊工程學系:資料結構#145441
111年 · #145441
110年 - 110 國立嘉義大學_碩士班招生考試試題_資訊工程學系:資料結構#145491
110年 · #145491
110年 - 110 國立臺灣科技大學_碩士班招生試題_電子工程系:資料結構#112844
110年 · #112844