You are viewing a single comment's thread. Return to all comments →
Nice solution. Here is the sorting with a lambda function
sort(begin(numbers), end(numbers), [](string &a, string &b) { return a.size() < b.size() || a.size() == b.size() && a < b; });
Seems like cookies are disabled on this browser, please enable them to open this website
Big Sorting
You are viewing a single comment's thread. Return to all comments →
Nice solution. Here is the sorting with a lambda function