1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sorting problem

Discussion in 'C' started by juglers, Aug 10, 2010.

  1. juglers

    juglers New Member

    Joined:
    Aug 7, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    where to use these sorting techniques? what conditions demand each of them?

    insertion sort
    selection sort
    quick sort
    merge sort
    bubble sort
    radix sort

    some article will help
    thank you
     
  2. Ancient Dragon

    Ancient Dragon New Member

    Joined:
    Jul 23, 2010
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    part time cashier at WalMart
    Location:
    near St Louis, IL, USA
    where to use them: anywhere you need the information arranged in some logical fashion, such as listing people alphabetically by their last and first names.

    Those are just different algorithms that do the same thing -- sort. You could use any of them for any given task, although some might do it faster than others. There is no "right one for the right job" sort of thing. Use any algorithm you want.
     
  3. virxen

    virxen New Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    0

Share This Page