1 - compare 4 with 4tvb now,tvbnow,bttvb- |7 l" D: o7 j- F
if (4v4)= same that means the rest of 4 is got more weight6 A3 ?9 G3 c; d, T: I* b" s
then goto 2 - compare rest of(4) - 2 with 2 6 J9 B5 a( X/ n# k* {
if (left side is more weight)公仔箱論壇- V. q* j+ D9 R- x6 G
then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer
$ I) B$ S c8 e/ g) M8 B) \6 ltvb now,tvbnow,bttvb else ( right side is more weight)7 a$ H) ?% W# h3 ]
then goto 3 - compare last (right side of (2) - 1 with 1 => get answertvb now,tvbnow,bttvb' V) f7 v; y9 N% m- U( u
else ( the left 4) then compare with above , or right 4 also can compare above method... |