cs50/answers.txt

12 lines
347 B
Plaintext
Raw Normal View History

sort1 uses: Bubble sort
How do you know?: Sorted list runs considerably faster than reserved on random list, regardless of the list size
sort2 uses: Merge sort
How do you know?: Way faster than the other two
sort3 uses: Selection sort
How do you know?: There is not much difference in execution time between sorted, reversed and random lists