http://www.lib.ntu.edu.tw/exam/graduate/94/452.pdf
我想請問
第三題
Let the value of the postfix expression
AB+D*EBA//+AD*C/+CD*+A-B+CD*-
be y. Then y mod 5 =?
解答給1但是我算是2
可以幫我看一下嗎~"~
第11題
Suppose a tree with only one node is defind to be with height 1.
Let x be the maxium height of an AVL tree with 400 nodes.
Then, x mod 5 = ?
(A) 0 (B) 1 (C) 2 (D) 3 (E) 4
Ans : C
第12題
Suppose a tree with only one node is defined to be with height 1.
Let y be the minimum height of an AVL tree with 400 nodes.
Then, y mod 5 = ?
(A) 0 (B) 1 (C) 2 (D) 3 (E) 4
Ans : E
還有第16題的Deap
解答給
左子樹
5
/ \
7 18
/ \
14 27
右子樹
35
/ \
30 25
但是我做出來是
左子樹
5
/ \
7 14
/ \
25 27
右子樹
35
/ \
30 18
請幫我看一下
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.25.118.136