Skip to content

Commit 2f98935

Browse files
committed
mergesort
1 parent c760b9d commit 2f98935

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Mergesort/README.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Mergesort
2+
3+
Goal: Sort an array from low to high (or high to low)
4+
5+
Invented in 1945, mergesort is a fairly efficient sorting algorithm with a best, worst, and average time complexity of O(n log n). The idea behind Mergesort
6+
is to **divide and conquer**. I'd like to call it **split first** and **merge after**.

0 commit comments

Comments
 (0)