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.

Problemas

Вулиця#12818

Difícil (≈1650)

Hunter In Jury#12829

Difícil (≈1650)

Neo-Robin Hood#12846

Muy difícil (≈2050)

Mistake#12847

Media (≈1350)

Median Madness#12849

Muy difícil (≈2050)

LIS of Pairs#12863

Difícil (≈1650)

Patriotic Painting 1#12864

Difícil (≈1650)

Patriotic Painting 2#12865

Muy difícil (≈2050)

Vovochka#12868

Muy difícil (≈2050)

Запити#12874

Muy fácil (≈850)

Adjacent Product Sum#12883

Difícil (≈1650)

Form ABC#12888

Difícil (≈1650)

Increasing Split Swapper#12891

Muy difícil (≈2050)

Birthday Cake#12896

Difícil (≈1650)

COVID#12897

Difícil (≈1650)

Exercise#12899

Difícil (≈1650)

776-800 de 841