Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bubble sort

7,533 views

Published on

Bubble sort

  • Finally found a service provider which actually supplies an essay with an engaging introduction leading to the main body of the exposition Here is the site ⇒⇒⇒WRITE-MY-PAPER.net ⇐⇐⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2u6xbL5 ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/2u6xbL5 ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Bubble sort

  1. 1. Bubble Sort Part 1 of 2 - Series
  2. 2. Overview • Simplest of all sorts • Compare first 2 elements and swap if out of order, keep doing for each adjacent pair of elements until end of array – last element is largest element in array • Do procedure for each next largest element until array is sorted.
  3. 3. Pseudocode
  4. 4. Video Demonstration • Link
  5. 5. Performance Worst case performance: O(n^2) Best case performance O(n)
  6. 6. Improvements • Optimized Bubble Sort • Comb Sort…

×