程序填空题:Insertion Sort
The function is to sort `N` elements in non-decreasing order by Insertion Sort. ```c++ void InsertionSort( ElementType A[ ], int N ) { int P, i; ElementType Tmp; for ( P=1; P答案: 第1空:i>0 && A[i-1]>Tmp 第2空:A[i] = Tmp
-->
The function is to sort `N` elements in non-decreasing order by Insertion Sort. ```c++ void InsertionSort( ElementType A[ ], int N ) { int P, i; ElementType Tmp; for ( P=1; P答案: 第1空:i>0 && A[i-1]>Tmp 第2空:A[i] = Tmp