Skip to content

Commit e6cc880

Browse files
authored
Fixed spaces around operators
1 parent 5e608be commit e6cc880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

counting_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def counting_sort(arr):
2020
k = max(arr)
2121
temp_arr = [0]*(k+1)
2222
for i in range(0,len(arr)):
23-
temp_arr[arr[i]]= temp_arr[arr[i]]+1
23+
temp_arr[arr[i]] = temp_arr[arr[i]]+1
2424
#temp_array[i] contain the times the number i appear in arr
2525

2626
for i in range(1, k+1):

0 commit comments

Comments
 (0)