Bubble sort: This
technique compares last element with the preceding element. If the last
element is less than that of preceding element swapping takes place.
Then the preceding element is compared with that previous element. This
process continuous until the II and I elements are compared with each
other. This is known as pass 1.
0 comments:
Post a Comment