单选题: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, 2, 6, 4, 3, 7, 5, 8, 11, 10, 9 ) after the second run, then the increments of these two runs must be __ , respectively. @[D](2)
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
答案:D
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
答案:D