Merge Sort

In this lesson, we'll learn how merge sort works and see its implementation.

Divide and conquer

Merge is a divide and conquer algorithm. The array to be sorted is divided into two halves and each half becomes sorted by recursively splitting into more halves. After the two halves become sorted, they’re merged into a sorted array.

Get hands-on with 1200+ tech skills courses.