第27425题 单选题
模拟直接插入排序的执行状态

已知待排序数组为[5, 3, 4, 1, 2],使用直接插入排序算法进行升序排序,排序规则为将当前元素插入到前面已排序的子数组的正确位置。当处理完第3个元素(即原数组中索引为2的元素4)时,数组的状态为?

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析