对比超大数据,sort和快排的时间差别,差了3000多ms,所以以后直接用sort也可以,sort内部实现原理,以及STL源码
https://www.cnblogs.com/easyeasier/p/10206565.html
https://www.cnblogs.com/AlvinZH/p/8682992.html
字符串数组
sort(s.begin(),s.end());
对比超大数据,sort和快排的时间差别,差了3000多ms,所以以后直接用sort也可以,sort内部实现原理,以及STL源码
https://www.cnblogs.com/easyeasier/p/10206565.html
https://www.cnblogs.com/AlvinZH/p/8682992.html
字符串数组
sort(s.begin(),s.end());