作者shinle14 ()
看板Grad-ProbAsk
标题[理工] 资结 tree
时间Sat Nov 30 12:14:20 2019
http://i.imgur.com/JVR2Ev3.jpg
1.想问给DFS,BFS结果在建树时要怎麽建呢
http://i.imgur.com/JUGjhug.jpg
2. 40题为什麽是preorder
http://i.imgur.com/DtWpjJ7.jpg
3.这题heapInitialization如果照上面程式码跑不是应该O(nlogn)吗
-----
Sent from JPTT on my Samsung SM-A730F.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 111.83.108.228 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Grad-ProbAsk/M.1575087262.A.778.html
3F:→ DLHZ: 2. 找到要的root就可以直接拿掉了 省时间 11/30 14:42