Skip to content

Glossary: Data Structures and Algorithms in Go

Merge (sorted slices)

Also written: merge, merge function

Combining two already-sorted slices into one by repeatedly taking the smaller front item. It is the second half of merge sort.

Where the book teaches it

Related terms

Merge sortDivide and conquer