Rapid Sort

What is Rapid Sort?


1.

The Rapid sort or Instant sort (name of hardware version) is a sorting algorithm in which data is used to address the contents of an indexed array and the contents then incremented. The counts are then read from each location in sequential order by incrementing the index and printing the index the same number of times as the content values. Sorting is therefore transparent, automatic and instantaneous.

DIM a(9999999)

'--- Beginning of first "pass" ---------

FOR I=1 TO 100

n=INT(4*RND)

a(n)=a(n)+1

NEXT I

'--- Beginning of second "pass" --------

FOR I=0 TO 9999999

DO

if a(I)>0 then PRINT I

a(I)=a(I)-1

LOOP UNTIL a(I)=0

NEXT I

END

I used the Rapid sort to put my phone numbers in numerical order.

See memory

1.

The Rapid sort or Instant sort (name of hardware version) is a sorting algorithm in which data is used to address the contents of an indexed array and the contents then incremented. The counts are then read from each location in sequential order by incrementing the index and printing the index the same number of times as the content values. Sorting is therefore transparent, automatic and instantaneous.

DIM a(9999999)

'--- Beginning of first "pass" ---------

FOR I=1 TO 100

n=INT(4*RND)

a(n)=a(n)+1

NEXT I

'--- Beginning of second "pass" --------

FOR I=0 TO 9999999

DO

if a(I)>0 then PRINT I

a(I)=a(I)-1

LOOP UNTIL a(I)=0

NEXT I

END

I used the Rapid sort to put my phone numbers in numerical order.

See memory


71

Random Words:

1. A Cool, Hip, Smooth, Handsome Kind Of Guy Hey Sarah Did You See That Guy, Yeah He's Smokin, No Sarah Hes Better Then Smokin..Hes D..
1. small town filled with old people and college students..mm what an interesting combo?.. yeah its a crazy ass party town with an nice and..
1. 1: One who makes faces. 2: A grimace that involves excessive squinting. 3: Faces similar to that of a mole. 1: Michael looks like the f..
Book Banner