CS50_Labs/Lab3/sort/answers.txt

12 lines
337 B
Plaintext
Raw Normal View History

2024-08-09 17:43:54 +00:00
sort1 uses: bubble sort
How do you know?: has shorter runtime for sorted list than sort3 and also longer for reversed
sort2 uses: merge sort
How do you know?: fastest for random list ... merge sort has the best O
sort3 uses: selection sort
How do you know?: the opposite behavior to explained in sort1
submit50 cs50/labs/2021/x/sort