摘要:
Why does it call Select Sort ?It's name contains what kind of method it uses:Every time by comparing i_item from bottom to top ,if found smaller one, mark the one.In one loop, one smallest one is found.then , exchange the right position of i_item find smallest in that loop and it's original 阅读全文
摘要:
Why it call Bubble Sort? It's name contains what kind of method it uses: Every time by comparing i_item from bottom to top ,if found greater one, i_item raises one step .In one loop, one smallest one is found.Here are the codes://BubbleSort.c#include<stdio.h>#include"type.h"voids 阅读全文