Re:Back in 1993, I was taking a number theory class
by BlueTemplar on Tuesday May 04, 2021 @03:51PM
(#27042083)
I "trolled" the professor by doing a random sort...
Re:Back in 1993, I was taking a number theory class
by tragomaskhalos on Tuesday May 04, 2021 @05:13PM
(#27042982)
A better troll would have been Sleep Sort :)
I taught a C programming class for first-year students for a few years at the end of the 90s, where one of the tasks was to sort an array of words, with no hints given as to what kind of algorithm they should implement. Most students came up with bubble sort. Insertion sort was much less prevalent, and the few students who did typically did a kind of out-of-place insertion sort. (I also saw a O(N^4) algorithm once.)