首页 > Term: merge
merge
Combine two or more sorted sequences of data into a single sorted sequence. Formal Definition: For simplicity, let input be two sequences, A=(a1, ..., an) and B=(b1, ..., bm), each sorted according to some total order, ≤. The output is a single sequence, merge(A,B), which is a sorted permutation of (a1, ..., an, b1, ..., bm).
0
创建者
- GeorgeV
- 100% positive feedback