Difference between revisions of "TADM2E 4.1"

From Algorithm Wiki
Jump to: navigation, search
Line 1: Line 1:
Sort it with your favorite nlogn sorting algo.  The bottom half is one team, the top half the other.
+
FUCK YOU FUCK YOU!!!!!!!!!!
 
 
Or much better , partition it with median as pivot . Time complexity O(n).
 

Revision as of 01:33, 14 July 2020

FUCK YOU FUCK YOU!!!!!!!!!!