Did you know Cards Games

Pairwise sorting network

Pairwise sorting network. No. 2,213,567 of 4,515,532 cards by fame.

Pairwise sorting network: quick facts

Rarity in the game
Rare card
In its topic
No. 8,182 of 9,102 “Computer science” cards
Wikidata
Q16999731
Wikipedia page views
about 210 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Play Masterpiece: match works to their artist →

Picture illustrating “Pairwise sorting network”
Photo: Florian Forster, Public domain (Wikimedia Commons)

Pairwise sorting network: summary

The pairwise sorting network is a sorting network discovered and published by Ian Parberry in 1992 in Parallel Processing Letters. The pairwise sorting network has the same size (number of comparators) and depth as the odd–even mergesort network. At the time of publication, the network was one of several known networks with a depth of O(log2n). It requires n(log⁡n)(log⁡n−1)/4+n−1 comparators and has depth (log⁡n)(log⁡n+1)/2.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

The best-known of the 9,102 “Computer science” cards

This card's topics

“Pairwise sorting network” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.