阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)-資料結構
>
110年 - 110 國立臺灣科技大學_碩士班招生試題_電子工程系:資料結構#112844
> 申論題
題組內容
2.
(a) (6%) What are the minimum and maximum numbers of elements in a heap of height h?
相關申論題
1. (10%) Explain how to implement two stacks in one array A[1..n] in such a way that neither stack overflows unless the total number of elements in both stacks together is n. The PUSH and POP operations should run in O(1) time.
#483187
(b) (4%) What is the height of the heap with n elements?
#483189
3. (10%) Draw a binary tree that contains the letters: "b", "u", "o","s", "n", such that the inorder traversal spells "bonus" and the preorder traversal spells "obuns".
#483190
(a) (6%) For each of the three methods above (foo(), goo(), and poo(), what is the exact runtime for each method (in steps) in terms of A,B,C, and N? You should not count loop related operations.
#483191
(b) (4%) For N = 100, which one is the fastest algorithm? Why?
#483192
(c) (6%) Assuming that A, B, and C are constants, what is the asymptotic runtime of each method in terms of N?
#483193
(d) (4%) As N grows infinitely large, which one is the fastest algorithm?
#483194
(a) Queue [5%]
#483195
(b) Circularly Linked List [5%]
#483196
(c) Minimum Spanning Tree [5%]
#483197
相關試卷
110年 - 110 國立臺灣科技大學_碩士班招生試題_電子工程系:資料結構#112844
110年 · #112844
110年 - 110 國立高雄科技大學_碩士班招生考試_電腦與通訊工程系:資料結構(乙組)#110488
110年 · #110488
110年 - 110 國立高雄科技大學_碩士班招生考試_資訊工程系:資料結構#110422
110年 · #110422
110年 - 110 國立中山大學_碩士暨碩士專班招生考試_資管系/乙組:資料結構#105545
110年 · #105545
110年 - 110台灣聯合大學系統_碩士班招生考試_電機類:資料結構#104954
110年 · #104954
110年 - 110 國立中央大學_碩士班招生考試_資訊管理暨大數據分析類:資料結構#103860
110年 · #103860
110年 - 110 國立政治大學_碩士班招生考試_資訊管理學系/科技組:資料結構#102881
110年 · #102881
110年 - 110 國立臺灣大學_碩士班招生考試_生物機電工程學研究所丙組:資料結構(C)#100901
110年 · #100901
110年 - 110 國立臺灣大學_碩士班招生考試_ 工程科學及海洋工程學研究所丁組:資料結構(A)#100759
110年 · #100759
109年 - 109 國立高雄大學_碩士班招生考試_資訊工程學系:資料結構#103082
109年 · #103082