| ▲ | minitech 18 hours ago | |||||||
> Can you type it from memory, without looking it up? Well, yeah, but that’s not a very useful heuristic for people who are already aware of the algorithms in question. If you ask people to come up with a way from scratch – probably without explicitly asking, in order to get better success, like by watching how they sort cards – I bet they won’t tend to come up with bubble sort. Maybe that says something about the relative intuitiveness of the approaches? Or not. | ||||||||
| ▲ | 3eb7988a1663 17 hours ago | parent [-] | |||||||
I recall "inventing" bubble sort during one of my first CS classes when the question was posed of how to sort a list. So, not that outlandish. | ||||||||
| ||||||||