Skip to content

Commit

Permalink
two spaced indents
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinlauKL authored Mar 21, 2019
1 parent 7457ceb commit fdab1a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Slow Sort/SlowSort.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ func slowSort(_ i: Int, _ j: Int, _ numberList: inout [Int]) {
slowSort(i, m, &numberList)
slowSort(m+1, j, &numberList)
if numberList[j] < numberList[m] {
let temp = numberList[j]
numberList[j] = numberList[m]
numberList[m] = temp
let temp = numberList[j]
numberList[j] = numberList[m]
numberList[m] = temp
}
slowSort(i, j-1, &numberList)
}

0 comments on commit fdab1a2

Please sign in to comment.