Sorting: Ep 06 - Bucket Sort

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
14,479
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on Jan 28, 2010

In this episode we take a look at the sorting algorithm that isn't really a sorting algorithm!

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (lcc0612)

  • Cool way of presentation :)

  • @subhadeep9874

    Cheers! Glad it worked for you!

  • FAST - explain a little slower - but over all really nice video!

  • @konsu89

    Hello, thanks for your comment! I've already taken note of this and (hopefully!) taken this into consideration for future videos. Glad I've been a help =)

  • What kind of Desktop Recorder are you using?

    Thank you :))

    and your tutorials are great! :P

  • @chesterr400

    Hello! Thanks for your comment. I use CamStudio for desktop recording.

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • great video, but no have spanish subtitles :(

  • @alejandrosoto27

    The Pseudocode for bucket sort is

    n <-- length[ A ]

    for i <-- 1 to n

    do insert A[ i ] into the list B [ nA[ i ] ]

    for i <-- 0 to n-1

    do sort the list B[ i ] with insertion sort

    merge neatly the lists B[ 1 ], B[ 2 ], . . , B[ n-1 ]

    hope it will help! :)

  • @lcc0612

    I see, I didn't notice it. Well, hey my bad. Anyway, we are doing a report about this sort, well, i was wondering if you could send me an email regarding this and a more elaborated explanation if that's possible.

    Thank you.

  • @impatrick4

    Hello! You have a valid point there. You need to somehow know the full range of your data before you can carry out a bucket sort.

    I quote an earlier post by myself...

    "While I'm not sure if there are more efficient methods, you could, of course, make one pass across all the input values, and determine the maximum and minimum values, to give yourself a range for creating buckets."

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more