-->
当前位置:首页 > 题库 > 正文内容

单选题:To sort { 8, 3, 9, 11, 2, 1, 4, 7, 5, 10, 6 } by Shell Sort, if

Luz4年前 (2021-05-10)题库1194
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

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。