Thread: Bucket Sort or Myth

  1. #46
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    This part of the incomplete code from that link gives it away as actually being counting sort!:
    Code:
    ++buckets [a [i]];
    The rest confirms it also.

    It even states that it comes from:
    "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++"
    Wow that's bad. You'd expect it to be right in a book!

    My apologies for my outburst of sarcasm earlier.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  2. #47
    Registered User
    Join Date
    Sep 2010
    Posts
    90
    It's all good around the board. You are still the MAN! I need at lease a year to catch-up, for-real

    Thank you iMalc

  3. #48
    Registered User
    Join Date
    Sep 2010
    Posts
    90
    This was suppose to be an edit but I see no eidt button. Anyway...

    PS: (edit)

    Just for the record; after reviewing a few of the latest threads around here, I hope no one would consider sarcasm as "all good". It's only reserve for true code warriors and serious people who would never go over-board *with it* during an heated debate. When you clown with something like sarcasm, than that thread will get closed as that clown has *planned*. I thank the Moderator for giving us a chanc. My guest is he saw no clown around here. The out-come may have only proven to be educational even for the educators. You can bet that one of these guys or gals will address the ISO in Switzerland of that fact even if he or she has to go over there personally, along, to kick his .......... in. .. not sharris style, but the legal way.

  4. #49
    Registered User
    Join Date
    Sep 2010
    Posts
    90
    Today I just learn that a C++ working bucketsorter do exist but it must be the most well guarded procedure in the academic world for academic purpose... so my apologies to all.

    It was even tougher for me to find that guy in Switzerland with no skies to travel, so I went back home.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Straight Insertion Sort function problem
    By StaticKyle in forum C++ Programming
    Replies: 6
    Last Post: 05-12-2008, 04:03 AM
  2. Floating Exception (Core Dumped)
    By DarrenY in forum C Programming
    Replies: 9
    Last Post: 05-14-2007, 10:01 AM
  3. Clearing Buffer
    By AndyBomstad in forum C++ Programming
    Replies: 11
    Last Post: 04-30-2005, 01:04 AM
  4. Bucket Sort Problems... Please Help!
    By 67stangman in forum C++ Programming
    Replies: 1
    Last Post: 04-17-2002, 10:13 PM
  5. Bucket sort & list of lists ???
    By EasternStar in forum C Programming
    Replies: 1
    Last Post: 11-20-2001, 12:48 AM