4 ms·
Github (2014--2016): https://github.com/echavarria/edx-mit-600.1x/blob/master/W05_Problem_Set_05/PROBLEM%20Set%206.py https://github.com/echavarria/edx-mit-600.
by areyousure 5y ago
Github (2014--2016): https://github.com/echavarria/edx-mit-600.1x/blob/master/W05_Problem_Set_05/PROBLEM%20Set%206.py https://github.com/echavarria/edx-mit-600.1x/blob/master/W05... https://github.com/slgraff/edx-mitx-6.00.1x/blob/master/pset5.6-1-swapSort.py https://github.com/slgraff/edx-mitx-6.00.1x/blob/master/pset... https://github.com/mbh038/MITx600/blob/master/600.1x/Problems/Finger%20Problems/L10%20memory%20and%20search.py#L123 https://github.com/mbh038/MITx600/blob/master/600.1x/Problem... https://github.com/demidovakatya/courses/blob/master/mitx/mit-6001x/PSET05/6-3.py https://github.com/demidovakatya/courses/blob/master/mitx/mi...
Chegg (year?): https://www.chegg.com/homework-help/questions-and-answers/15-idige-oo-n-2-oo-n-oo-log-n-00-1-3-make-small-change-line-jin-range-1-len-l-code-becomes-q79582358 https://www.chegg.com/homework-help/questions-and-answers/15...
Apparently this was mentioned in a problem set for MIT edX course 6.00.1x in 2014. Then maybe someone then tried to have the internet do their homework for them (this may also be the case for some of the posts in my parent comment):
Math Stack Exchange (2014): https://math.stackexchange.com/questions/876400/best-worst-test-cases https://math.stackexchange.com/questions/876400/best-worst-t...
Note that the question got 3 downvotes, and that the answer is wrong. In particular, the two sorts in the question sort in opposite directions!