若对n个元素进行直接插入排序,则进行任一趟排序的过程中,为寻找插入位置而需要的时间复杂度为()

A . O(1) B . O(n) C . O(n ) D . O(log n)

时间:2022-10-25 01:58:58 所属题库:数据结构题库

相似题目