資料結構›Ch7 搜尋與排序
第 34 題/共 76 題
◀ DS 34/76
34. Min Heap、Insert
#DS-07-034易Min HeapInsert

(3%) If the following numbers are sequentially inserted into a min heap using the standard bubble-up insert function (same setting as the previous question):

40,15,50,10,30,20,5,1240, 15, 50, 10, 30, 20, 5, 12

what are the numbers of data[1] and data[4] (suppose that the index starts from 0)?

📄 交大114
跳轉到第題
▤完整推導請見《WH 資工筆記 · 資料結構》Ch7 搜尋與排序
本章題號 · 21–40 / 76