« * K @shwestrick.bsky.social

Sam Westrick @shwestrick.bsky.social

2026-10-18 17:24 UTC

Parallel d/c merging is a beautifully simple algorithm, very efficient in practice.

 And, especially for those less familiar with algorithm analysis techniques, it’s not obvious that the algorithm is **work-efficient**: at most linear work total, matching the sequential algorithm

1 picture (not shown on this phone): pseudocode for the algorithm: Merge(A, B): if |A|+ |B| is small merge A and B sequentially else if |A|= 0 copy B to the…

A reply in a thread.

0 likes, 0 reposts, 1 replies

3 Next post4 More from @shwestrick.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup