A divide-and-conquer algorithm that sorts two halves, reverses one result to form a bitonic sequence, then performs a bitonic merge. For the shuffle-and-adjacent-comparison merging network on entries, passes each cost , so merging costs . The complete recurrence relation is , giving time. A compare-exchange operation preserves the multiset of entries while putting its two selected entries in order.
Articles by others on the same topic
There are currently no matching articles.