单选题:To sort { 8, 3, 9, 11, 2, 1, 4, 7, 5, 10, 6 } by Shell Sort, if
To sort { 8, 3, 9, 11, 2, 1, 4, 7, 5, 10, 6 } by Shell Sort, if we obtain ( 1, 3, 7, 5, 2, 6, 4, 9, 11, 10, 8 ) after the first run, and ( 1, 3, 2, 5, 4, 6, 7, 9, 8, 10, 11 ) after the second run, then the increments of these two runs must be __ , respectively. @[C](3)
A. 3 and 1
B. 3 and 2
C. 5 and 2
D. 5 and 3
A.3 and 1
B.3 and 2
C.5 and 2
D.5 and 3
答案:C
A. 3 and 1
B. 3 and 2
C. 5 and 2
D. 5 and 3
A.3 and 1
B.3 and 2
C.5 and 2
D.5 and 3
答案:C