qfedu-cpp-level/day9/homework/h7.cpp

4 lines
276 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 【场景】双端队列排序
// 编写一个程序,演示如何使用双端队列对一组整数进行排序。
// 【提示】应用插入排序算法: 从第2个开始确认当前位置数在前面有序从小到大或从大到小队列中的位置。