golangで採用されるpdqsortはこのPattern-defeating Quicksortのことらしい

tmatsuutmatsuu のブックマーク 2022/04/24 13:16

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Pattern-defeating Quicksort

    A new solution for the Dutch national flag problem is proposed, requiring no three-way comparisons, which gives quicksort a proper worst-case runtime of $O(nk)$ for inputs with $k$ distinct element...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう