Fastest way to obtain the largest X numbers from a very large unsorted list?

后端 未结 0 1561
死守一世寂寞
死守一世寂寞 2021-02-15 05:23

I\'m trying to obtain the top say, 100 scores from a list of scores being generated by my program. Unfortuatly the list is huge (on the order of millions to billions) so sorting

相关标签:
回答
  • 消灭零回复
提交回复
热议问题