Re:Programmers can’t write algorithms without help
by mordechai9000 on Monday November 04, 2019 @12:37PM
(#21444045)
I think bubble sort is used in beginner CS classes because it's easy to understand the operation and the complexity. It makes a good prologue before moving on to more efficient sorting algorithms.
I only remember it because a machine language book for the Motorola 6809 used it as an introductory program.
I only remember it because a machine language book for the Motorola 6809 used it as an introductory program.