Qbasicnews.com
April 12, 2021, 07:08:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]
  Print  
Author Topic: Sorting Arrays  (Read 18121 times)
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #45 on: June 15, 2005, 05:05:50 PM »

The Ethan Weiner Duplicate :|
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Moneo
Na_th_an
*****
Posts: 1971


« Reply #46 on: June 15, 2005, 09:49:10 PM »

Quote from: "Agamemnus"
The Ethan Weiner Duplicate :|

Aga,

Don't sell your implementation short. Granted, yours and Ethan Winer's implementation are fundamentally a Quicksort approach.

However, I compared your code to Winer's, and they are quite different. There's no way you could say that yours was modelled after his. The similarities are only in design; that is, they basically do a form of Quicksort, replace the original Quicksort recursion by handling a proprietary stack, and do not compute a random pivot  position, using a simple half-way point instead.

So, I think your sort algorithm deserves a name. Meanwhile, here at QBN, we can refer to it as the AgaSort.
*****
Logged
Dr_Davenstein
Na_th_an
*****
Posts: 2052


« Reply #47 on: June 16, 2005, 12:26:13 AM »

Awesome!

Hey, why don't you call it a GotoSort? Wink
Logged
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #48 on: June 16, 2005, 01:41:04 AM »

Thanks,

But again I say that my code was made from GOTOing his previous code, converting the one array to two arrays, and reducing the variable length.

GOTOsort.

I like it.
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #49 on: June 16, 2005, 02:47:56 AM »

Fruitysort? Cheesy
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Moneo
Na_th_an
*****
Posts: 1971


« Reply #50 on: June 16, 2005, 07:53:31 PM »

GOTOsort --- I like it too.
*****
Logged
Anonymous
Guest
« Reply #51 on: June 16, 2005, 09:50:32 PM »

what about JumpSort
Logged
Pages: 1 2 3 [4]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!