Bubble Sort Algorithm(sharpcontents.blogspot.com)

submitted by shehmedshehmed(65) 3 years, 4 months ago

-Bubble sort is the simplest algorithm which compares two elements at a time and swaps them if they are in wrong order or if first element is greater than the second element. it repeatedly swaps elements until no swap is needed. -It is not normally used in practice except in School for the purpose of or to know how the sorting algorithm. -It is not much efficient sorting algorithm as others. -The complexity of Bubble Sort is О(n²) and it should not be used when n is large.

add a comment |category: |Views: 20

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story