Remove unused var in bucket_sort.py

This commit is contained in:
Tianyi Zheng 2023-08-17 18:16:16 -07:00 committed by GitHub
parent c2f569b272
commit ce9a8e8484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ def bucket_sort(my_list: list, bucket_count: int = 10) -> list:
if len(my_list) == 0 or bucket_count <= 0:
return []
min_value, max_value = min(my_list), max(my_list)
min_value = min(my_list)
buckets: list[list] = [[] for _ in range(bucket_count)]
for val in my_list: