Divide and conquer algorithms and merge sort and quick sort

Divide and conquer

Merge sort

Quick sort