Skip to content

Commit

Permalink
Fix markdownlint problems in counting sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtrah committed Oct 18, 2020
1 parent 2b88a07 commit 3415329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Algoritmer/Sortering/counting_sort.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def counting_sort(A, B):
for i in range(1,k):
AmountCount[i] += AmountCount[i-1]
for n in range(len(A),0,-1): # Går baklengs for å gjøre algoritmen stabil
num = A[n-1]
num = A[n-1]
B[AmountCount[num]-1] = num
AmountCount[num] -= 1
return B
```
```

0 comments on commit 3415329

Please sign in to comment.