Thread: how to select span sequence in shell sort

  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    22

    how to select span sequence in shell sort

    Hi all,

    I want to know that how one can make a good selection of span sequence in shell sort...????

    Please help...

    Regards
    C_Enthusiast

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Simple - pick a sequence that has been tested and is highly rated. Then give it at least a summary test to ensure that assertion holds true for your data.

    Or forget it, and use a good Quicksort, with a median (left+right)/2 pivot pick.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  2. Directional Keys - Useing in Console
    By RoD in forum C++ Programming
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM
  3. FAQ: Directional Keys - Useing in Console
    By RoD in forum FAQ Board
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM
  4. scandir select function
    By dsl24 in forum C Programming
    Replies: 3
    Last Post: 04-12-2002, 10:58 AM