Partial sorting: Difference between revisions

Content deleted Content added
No edit summary
m Reverted edits by Fmadd (talk) to last version by Dexbot
Line 46:
 
== Language/library support ==
* The [[C++]] standard specifies a [[library function]] called <code>[http://en.cppreference.com/w/cpp/algorithm/partial_sort std::partial_sort]</code>.
* The [[Python (programming language)|Python]] standard library includes functions <code>[https://docs.python.org/library/heapq.html#heapq.nlargest nlargest]</code> and <code>[https://docs.python.org/library/heapq.html#heapq.nsmallest nsmallest]</code> in its <code>heapq</code> module.