合併兩個有序數組(C)

合併兩個有序數組,合併完以後仍有序:數組 void mergeList(int a[], int aLength, int b[], int bLength, int result[]) { int aIndex = 0; // 遍歷數組a的下標 int bIndex = 0; // 遍歷數組b的下標 int i = 0; // 記錄當前存儲位置
相關文章
相關標籤/搜索