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
Corruption#21
Easy
Transfer#84
Easy
Subprojects#92
Very easy
Tanglegram#222
Medium
Lazy visitor#232
Very hard
Pumpkin porridge#260
Very easy
Fish#276
Hard
Sails#282
Hard
Pairs#284
Hard
Hiring#288
Very easy
Salesman#294
Easy
Hills#326
Medium
Sorting Containers#342
Medium
ICQ#443
Very easy
Shelves#452
Medium
Tram#460
Easy
Permutations#465
Medium
Sticks#509
Medium
Allergy Test#544
Very easy
The nearest points#555
Very easy