使用排序可以使问题复杂度讲到O(NlogN); 使用匿名函数进行sort排序。(类似于贪心的思想) 最后在组合在一起就好。 class Solution { public: string PrintMinNumber(vector<int> numbers) { if(!numbers.size()) return ""; vector<string> str; for(auto st:numbers) str.push_back(to_string(st)); sort(str.begin(),str.end(),[](string a, str...