Selection Sort Algorithm(sharpcontents.blogspot.com)

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

* Selection sort is a very simple sorting algorithm. * It starts to find out the smallest element by searching in a linear way and swap it with i place and then find the second smallest by searching from n-i elements and place it at ith place and so on. * It is improved on the performance of bubble sort. * Complexity in worst case and average case is О(n²) and the worst case is when it is in sorted order. * It should not be use when n is large.

add a comment |category: |Views: 11

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