Home > other >  In 1000000 records found in the two youngest record, what do you think can use sorting method the re
In 1000000 records found in the two youngest record, what do you think can use sorting method the re

Time:10-07

Yao sorting method the required number of keywords to compare at least, a total of more than

CodePudding user response:

There's no need to sort, set up the two variables, a trip to scan all things directly,

CodePudding user response:

Using tree selection method is better, comparison algorithm for a maximum of 999999 + log2 (100000)=1000019

CodePudding user response:

No need to sort, again too
  • Related