Does anyone know basic pseudocode for a balanced k-way sort-merge? Thanks for any info you may have.

## Recommended Answers

Jump to PostDoes anyone know basic pseudocode for a balanced k-way sort-merge? Thanks for any info you may have.

I'm not sure what you mean by k-way, but if you define it a little better, we may be able to help :)

Jump to Post>I'm not sure what you mean by k-way

Instead of just taking one stream of data, then dividing and sorting it recursively, a k-way sort divides the initial stream into k smaller streams and sorts each of them individually. By "balanced", it means that the value of k is consistent …

## All 5 Replies

marinme
0
Junior Poster in Training

Narue
5,707
Bad Cop
Team Colleague

tat2dlady
0
Light Poster

Randgalt
0
Newbie Poster

WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.