Skip to main content

All Questions

Filter by
Sorted by
Tagged with
13 votes
2 answers
398 views

Expected sorting time of random permutation using random comparators

In sorting networks, a comparator of positions $i < j$ is an operator which takes a permutation, checks if $p_i > p_j$, and if it is the case, swaps $p_i$ and $p_j$. Using this, we can define ...
Daniel Weber's user avatar
  • 3,319