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
The Moo Particle#10309
Very easy
Cow Steeplechase II#10320
Very hard
Valleys#10327
Very hard
Sleepy Cow Sorting (Bronze)#10330
Very easy
Mountain View#10334
Medium
Dishwashing#10348
Very hard
Cossack Vus and the Shop#10355
Very easy
Beautiful array#10357
Medium
Stuck in a Rut (Bronze)#10366
Very easy
Square Pasture#10372
Very hard
Lemonade Line#10385
Medium
Out of Sorts (Platinum)#10390
Very hard
Convention#10396
Medium
Convention II#10397
Medium
Sort It Out#10403
Very hard