Un Shuffle Sort - Phase II - Merge Phase

Merge Phase

Use an Ideal Merge to merge the piles created in Phase I. Output to the output linked list or data stream. Ideal Merge is a merge algorithm Art S. Kagel believes he also invented which can be shown to be the best possible merge of sorted sinks (queues). Algorithm follows.

Read more about this topic:  Un Shuffle Sort, Phase II

Famous quotes containing the words merge and/or phase:

    If men at forty will be painting lakes
    The ephemeral blues must merge for them in one,
    The basic slate, the universal hue.
    Wallace Stevens (1879–1955)

    This is certainly not the place for a discourse about what festivals are for. Discussions on this theme were plentiful during that phase of preparation and on the whole were fruitless. My experience is that discussion is fruitless. What sets forth and demonstrates is the sight of events in action, is living through these events and understanding them.
    Doris Lessing (b. 1919)