Skip to content

Execute bubble_sort with list copy as input#8

Open
Je-mi-ko wants to merge 1 commit intoApress:masterfrom
Je-mi-ko:feature/ensure_fair_runtime_comparison
Open

Execute bubble_sort with list copy as input#8
Je-mi-ko wants to merge 1 commit intoApress:masterfrom
Je-mi-ko:feature/ensure_fair_runtime_comparison

Conversation

@Je-mi-ko
Copy link

@Je-mi-ko Je-mi-ko commented Aug 18, 2022

If bubble_sort doesn't get a list copy, insertion_sort will
always run on a sorted list and runtime comparison is meaningless

If bubble_sort doesn't get a list copy, insertion_sort will
always run on a already sorted list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant