Glossary term

What is merge (Merge (two sorted arrays))?

merge stands for Merge (two sorted arrays).

Join two sorted arrays into one sorted array. Keep taking the smaller front item. O(n + m).

Learn it properly · DSALesson 17: Merge SortSplit, sort the halves, merge — divide and conquer.

All DSA terms

Related terms

← All glossary terms, A to Z