Home > database >  Vfp algorithm smallest number 10 quick sort method on how to write, please
Vfp algorithm smallest number 10 quick sort method on how to write, please

Time:02-09

Vfp 10 smallest number how to write a quick sort method algorithm, help please
Quick sort method
A, first select a benchmark, other data in an array, respectively, and compare the benchmark,
Two, will be less than the benchmark Numbers into an array, will be bigger than the benchmark of Numbers into another array
Three, repeat the process

The clear
Dimension a (10)
A (1)=142
A (2)=120
A (3)=452
A (4)=23
A (5)=89
A (6)=42
A (7)=865
A (8)=140
A (9)=453
A (10)=147
?????
  •  Tags:  
  • VFP
  • Related