Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Sorting array into an index array?
Index -> General Programming
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rizzix




PostPosted: Sat Mar 06, 2004 12:59 am   Post subject: (No subject)

i think java uses the quick sort.

so far the fastest sort i've come accross is the radix sort.
heh just 2 itterations and its sorted... sweet.
Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Sat Mar 06, 2004 1:02 am   Post subject: (No subject)

nope... my sorting method is even quicker than the raddix 8)
Homer_simpson




PostPosted: Sat Mar 06, 2004 1:03 am   Post subject: (No subject)

Hacker Dan wrote:
then i think i will add:


fill(int[] a, int val)


so polep can stop puting in thous for loops to set all the array elements to 1 or w/e Razz

tried doesn't work...
Dan




PostPosted: Sat Mar 06, 2004 3:45 pm   Post subject: (No subject)

did u do:

Arrays.Fill

or just

Fill


i think youi need the array part on it.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 19 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: