1 - compare 4 with 4( R o1 w- J4 g! s
if (4v4)= same that means the rest of 4 is got more weight
2 C& k' w" L& t) G( z0 c( V6 ?/ m then goto 2 - compare rest of(4) - 2 with 2
/ l8 ]1 a. ^ N$ Z# g if (left side is more weight) q& [; V3 i& G' `$ T" H( m& ^
then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer
0 k" S2 }* q! T: E0 G$ p' Htvb now,tvbnow,bttvb else ( right side is more weight)公仔箱論壇1 J M5 N0 z- _" L/ o0 s2 H! x
then goto 3 - compare last (right side of (2) - 1 with 1 => get answer
- A _2 m2 o4 L8 g; {2 |" M) y) c: m公仔箱論壇else ( the left 4) then compare with above , or right 4 also can compare above method... |