Buble Shorting NPM Ganjil (1011063)

Posted: July 3, 2011 in Quis
Tags:

type 0 = 17,11,50,30,6,5
i=0 0=0+1 =T
if 5T : 17,11,50,30,5,6
j=4 4>=0+1 =>T
if 5 T : 17,11,50,5,30,6
j=3 3>=0+1 =>T
if 5 T : 17,11,5,50,30,6
j=2 2>=0+1 => T
if 5 T : 17,5,11,50,30,6
j=1 1>= 0+1 => T
if 5 T : 5,17,11,50,30,6
j=0 0 F
i=1 1 T
j=5 5>= 1+1 => T
if 6 T : 5,17,11,50,6,30
j=4 4>=1+1 => T
if 6 T : 5,17,11,6,50,30
j=3 3>=1+1 => T
if 6 T : 5,17,6,11,50,30
j=2 2>=1+1 => T
if 6 T : 5,6,17,11,50,30
j=1 1>= 1+1 => F
i=2 2 T
j=5 5>=2+1 => T
if 11 T : 5,6,11,17,30,50

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s