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
Digit Sum#6384
Medium
Sort Me#6386
Easy
Incognito#6425
Easy
Magic Roads#6451
Very easy
Blizzard#6479
Hard
Crane#6774
Hard
Longest Chain#6784
Very easy
Rotten Ropes#6840
Very easy
Caper pizza#6916
Hard
Formula 1#6930
Easy
Interstellar Trade#6969
Medium