[理工] 資結 BST!

看板Grad-ProbAsk作者 (andrew)時間7年前 (2018/11/12 08:43), 編輯推噓3(300)
留言3則, 3人參與, 7年前最新討論串1/1
請問一下,建BST時,規定是左小右大,但如果遇到和root一樣大的數時,應該放左邊還 是右邊啊? 筆記好像還沒看到相關的定義……… -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 27.247.158.9 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1541983400.A.B5D.html

11/12 09:45, 7年前 , 1F
看演算法怎麼定義
11/12 09:45, 1F

11/12 12:18, 7年前 , 2F

11/12 15:42, 7年前 , 3F
推樓上
11/12 15:42, 3F
文章代碼(AID): #1RwCoejT (Grad-ProbAsk)