討論串[問題] 計概-heap tree
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
以make heap, shiftdown 來做. 4 [ 4 2 6 '5' 1 7 3 8 ] idx = 3. / \ 5 < 8. 2 6. / \ / \. 5 1 7 3. /. 8. 4 [ 4 2 '6' 8 1 7 3 5 ] idx = 2. / \ 6 < 7. 2 6. /
(還有3349個字)
內容預覽:
The data are inserted in the sequence of 4,2,6,5,1,7,3,8. Construct the corresponding max heap and binary search tree.. 這題感覺我應該是要會建的吧!可是卻覺得怪怪的@@ 請教大家一
(還有441個字)
首頁
上一頁
1
下一頁
尾頁