You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "CS50 2021/2022 - Lecture 3 - Algorithms" , in section of "Sort Race" at the end,
Order of running time came out to be: Merge sort < Selection sort < Bubble sort
Here, I think more cautionary light can be shed on why selection sort performed faster than bubble sort.
Similar to how the caution was shared at the end of "CS50 2021 Lecture" for the numerical imprecision.
With content something like given below:
(sorry, this ain't related to "Source code for CS50's lectures" ; but lectures... i couldn't think of other place to suggest this)
In the "CS50 2021/2022 - Lecture 3 - Algorithms" , in section of "Sort Race" at the end,
Order of running time came out to be: Merge sort < Selection sort < Bubble sort
With content something like given below:
(sorry, this ain't related to "Source code for CS50's lectures" ; but lectures... i couldn't think of other place to suggest this)
2:00:29 it's worth noting that
why?
But in a single run of inner loop in bubble sort:
The text was updated successfully, but these errors were encountered: