Partitioning schemes for quicksort and quickselect
<|reference_start|>Partitioning schemes for quicksort and quickselect: We introduce several modifications of the partitioning schemes used in Hoare's quicksort and quickselect algorithms, including ternary schemes which identify keys less or greater than the pivot. We give estimates for the numbers of swaps made by each scheme. Our computational experiments indicate that ternary schemes allow quickselect to identify all keys equal to the selected key at little additional cost.<|reference_end|>
@article{kiwiel2003partitioning,
    title={Partitioning schemes for quicksort and quickselect},
    author={Krzysztof C. Kiwiel},
    journal={arXiv preprint arXiv:cs/0312054},
    year={2003},
    number={PMMO-03-01},
    archivePrefix={arXiv},
    eprint={cs/0312054},
    primaryClass={cs.DS}
}