下面的Python代码实现对 list 的快速排序,有关说法,错误的是( )。

A:qSort(less) + qSort(greater) + [pivot]
B:[pivot] + qSort(less) + qSort(greater)
C:qSort(less) + [pivot] + qSort(greater)
D:qSort(less) + pivot + qSort(greater)
正确答案:D
试卷来源:202312 CCF-GESP编程能力等级认证Python五级真题
题库首页 › GESP等级认证(Python) › 题目 8303

正确答案:D
试卷来源:202312 CCF-GESP编程能力等级认证Python五级真题