d7a75da8ef070235c89c619a819516f4601d9c7c,sorts/bucket_sort.py,,,#,47
Before Change
if __name__ == "__main__":
user_input = input("Enter numbers separated by a comma:").strip()
unsorted = [float(n) for n in user_input.split(",") if len(user_input) > 0]
print(bucket_sort(unsorted))
After Change
if __name__ == "__main__":
assert bucket_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
assert bucket_sort([0, 1, -10, 15, 2, -2]) == [-10, -2, 0, 1, 2, 15]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: TheAlgorithms/Python
Commit Name: d7a75da8ef070235c89c619a819516f4601d9c7c
Time: 2020-06-17
Author: mtszzwdzk@gmail.com
File Name: sorts/bucket_sort.py
Class Name:
Method Name:
Project Name: TheAlgorithms/Python
Commit Name: 20b21e5ec9d4ed28ede8bd67d4b5bc924454d4ac
Time: 2020-06-05
Author: mtszzwdzk@gmail.com
File Name: sorts/cycle_sort.py
Class Name:
Method Name:
Project Name: TheAlgorithms/Python
Commit Name: c6dd9753893533934c7804bb714bbce2de8dd1a7
Time: 2020-11-14
Author: posorio@sier.com.co
File Name: searches/ternary_search.py
Class Name:
Method Name: