Skip to content

Commit ed1e37d

Browse files
committed
more text changes
1 parent 85ffe16 commit ed1e37d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Mergesort/README.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ The next pass will merge `[1, 2]` and `[4, 5]` together. This results in `[1, 2,
3838

3939
Since you're left with 2 piles, `[9]` finally gets it's chance to merge, resulting in the sorted array `[1, 2, 4, 5, 9]`.
4040

41-
In code, it looks like this:
41+
### Top Down Implementation
42+
43+
Based off of the above example, here's what mergesort may look like:
4244

4345
```swift
4446
let array = [2, 1, 5, 4, 9]

0 commit comments

Comments
 (0)