Skip to content

Commit 81db429

Browse files
Merge branch 'master' into swift4.2-update
2 parents 231f562 + 35dcda0 commit 81db429

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var numberList = [1, 12, 9, 17, 13, 12]
22

3-
slowsort(0, numberList.count-1, &numberList)
3+
slowSort(0, numberList.count-1, &numberList)
44
print(numberList)

Slow Sort/SlowSort.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Created by Pope Lukas Schramm (Dabendorf Orthodox Religion) on 16-07-16.
66
//
77
//
8+
89
func slowSort(_ i: Int, _ j: Int, _ numberList: inout [Int]) {
910
guard if i < j else { return }
1011
let m = (i+j)/2

0 commit comments

Comments
 (0)