Sorting
Problems on sorting, including sorting numbers, strings and records by several keys, counting sort, merge sort and inversions, finding the k-th element, removing duplicates, and problems that become simple once the data is in order.
The sorting article in the Basics section explains the main algorithms. Related problem sets are under Binary search, Greedy algorithms and Two pointers.
Problems
Hoofball#10406
Easy
Rest Stops#10408
Medium
Slingshot#10414
Very hard
Rental Service#10421
Medium
Sprinklers#10428
Hard
Falling Portals#10441
Very hard
Karabakh villages#10443
Very easy
Paired Up#10524
Medium