1 - compare 4 with 45 D, Y$ R3 I$ }
if (4v4)= same that means the rest of 4 is got more weight) f6 R9 v8 G- D0 R& F& v6 B
then goto 2 - compare rest of(4) - 2 with 2 : X7 y; F" V. u
if (left side is more weight)
4 u/ e% g: u0 L# u5 f% w then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer0 l7 a- c* t9 Q
else ( right side is more weight)公仔箱論壇! t0 q6 U4 L% F2 ]/ F/ O
then goto 3 - compare last (right side of (2) - 1 with 1 => get answer
4 `. f }" n4 T3 I. [else ( the left 4) then compare with above , or right 4 also can compare above method... |