Merge algorithm: Difference between revisions

Content deleted Content added
Remove information uncited for more than 5 years (!!!)
Line 1:
{{expert-subject|Computer science|date=August 2009}}
{{citations missing|date=August 2008}}
'''Merge algorithms''' are a family of [[algorithm]]s that run sequentially over multiple [[sorting algorithm|sorted]] lists, typically producing more sorted lists as output. This is well-suited for machines with [[tape drive]]s. Use has declined due to large [[random access memory|random access memories]], and many applications of merge algorithms have faster alternatives when a random-access memory is available.{{Fact|date=May 2009}}
 
The general merge algorithm has a set<!--non-technical use, don't link--> of [[pointer (computer programming)|pointer]]s p<sub>0..n</sub> that point to positions in a set of lists L<sub>0..n</sub>. Initially they point to the first item in each list. The algorithm is as follows: