摘要: 本文仅供个人记录、分享 #快速排序 快排是经典的排序算法之一,用到了分治的思想。其平均的时间复杂度为O(nlogn) 模板: 785. 快速排序 - AcWing题库 #include <iostream> using namespace std; const int N = 1e5 + 10; i 阅读全文
posted @ 2023-01-11 17:28 轻羽绒 阅读(27) 评论(0) 推荐(0)