Update counting_sort.py

之前代码有错误,第26行已修改
This commit is contained in:
crazyang 2018-12-23 00:36:32 +08:00 committed by GitHub
parent 2280169fd9
commit 3e5fb58281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ def counting_sort(a: List[int]):
a_sorted[index] = num
counts[num] -= 1
a = a_sorted
a[:] = a_sorted
if __name__ == "__main__":