Actually, BubbleSort IS an important sort, and anybody calling him or herself a Software engineer needs to understand how it works.
Reason? Well, you can't understand the concept of Light completely without understanding what the Darkness is. I know it's toooo dramatic but believe me, you need to know what bad algorithms are in order to understand the good ones.
Actually, BubbleSort IS an important sort, and anybody calling him or herself a Software engineer needs to understand how it works.
Reason? Well, you can't understand the concept of Light completely without understanding what the Darkness is. I know it's toooo dramatic but believe me, you need to know what bad algorithms are in order to understand the good ones.
sure.. though selection sort is sufficient to represent naive sorting..
but I'll grant that you have a point