Skip to content

Commit

Permalink
Merge pull request #4 from cnygaard/cleanup_main_dot_py
Browse files Browse the repository at this point in the history
Code cleanup main.py remove extra double data list, remove test code
  • Loading branch information
cnygaard authored Oct 6, 2024
2 parents 3c1136a + 9fff1d3 commit 27870b1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@ def counting_sort(input_list, exp):
# Example usage:
if __name__ == "__main__":
data = [170, -45, 75, -90, 802, -24, 2, 66, -1, 0, 123, -500]
data = [170, -45, 75, -90, 802, -24, 2, 66, -1, 0, 123, -500, 10000, -10000, 1000000, -1000000, 1000000000, -1000000000]

sorted_data = hyrmis_sort(data)
print("Sorted input_listay:", sorted_data)

def test_data():
# Generate list of 10000 random integers
data = [random.randint(-10000, 10000) for _ in range(10000)]
return data
print("Sorted input_listay:", sorted_data)

0 comments on commit 27870b1

Please sign in to comment.