题库首页 › GESP等级认证(Python) › 题目 8303

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

下面的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五级真题

本卷相关题目

在线做题 同科目题库