看板 Grad-ProbAsk 關於我們 聯絡資訊
一、In binary tree, the number of null pointers is more than one unit than the number of nun-null pointers. 這題不是應該是True嗎? no=n2+1? 二、What's max number of comparison when we search of an item in AVL tree with 1000 nodes. 請問一下這題該怎麼算阿?我本來是想log(1000+1)=10..但是沒這個答案= = 三、如果要把(A+B^C^D*E)/F/(G*H)轉成後序最少需要幾個stack? 我怎麼畫都是三個耶..可以指導一下嗎XD 四、26,5,3,1,4,7,30,33,35,12 畫成 min leftist heap? 問題有點多..麻煩了~感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.57.105.119
NOtWorThy:如果BINARY TREE只有一個ROOT NODE勒? 01/07 23:17