PCDVD數位科技討論區

PCDVD數位科技討論區 (https://www.pcdvd.com.tw/index.php)
-   疑難雜症區 (https://www.pcdvd.com.tw/forumdisplay.php?f=34)
-   -   heap tree問題 (https://www.pcdvd.com.tw/showthread.php?t=1052343)

@"@ 2014-06-21 04:44 PM

heap tree問題
 
如 123

我會出現
A.
----3------
--1---2---

B.
----3------
--2---1---

那種對 :confused:

gotoyourmom 2014-06-22 05:41 PM

原則上是A...

不過兩種答案都是對的

@"@ 2014-06-22 09:07 PM

感謝,這樣我會了


所有的時間均為GMT +8。 現在的時間是10:31 PM.

vBulletin Version 3.0.1
powered_by_vbulletin 2025。