JiafanZhou
版主
发贴: 736
积分: 61
|
于 2008-07-15 16:19
Miragi_Song wrote: I always use bubble sort to make an array ascending or descending(arithmetically or alphabetically)..make my life easier/_\
Bubble sort is not a very good algorithm in a lot of circumstances. The worst scenario is you want to sort an array which is in totally reverse order. Then the life will not be that easy for computers.
Jiafan
When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
|