The document discusses two sorting algorithms: Merge Sort and Quick Sort. Merge Sort uses a divide-and-conquer approach and is stable, but not in-place, with a worst-case complexity of O(n log n), making it suitable for large datasets. Quick Sort also employs a divide-and-conquer strategy, is in-place and generally faster, though it has a worst-case complexity of O(n^2) and is not stable.
Related topics: