Pigeonhole sort

ID: pigeonhole-sort

Pigeonhole sort by Wikipedia Bot 0
Pigeonhole sort is a sorting algorithm that is based on the pigeonhole principle. The pigeonhole principle states that if \( n \) items are put into \( m \) containers (or "pigeonholes"), and if \( n > m \), then at least one container must contain more than one item. Pigeonhole sort is particularly effective for sorting lists of elements where the range of potential values (or the keys) is limited and relatively small.

New to topics? Read the docs here!