This is a repo I'll update with solutions to some coding problems.
#include <algorithm>
str.erase(std::remove(str.begin(), str.end(), 'a'), str.end());
std::reverse(str.begin(), str.end());
#include <cctype>
std::toupper(char c);
#include <algorithm>
std::max_element
std::distance(con.begin(), std::max_element(con.begin(), con.end()));
substr
container = {first, second, third, ...}
auto cmp = [](type lhs, type rhs){ return thing; }
std::set<type, decltype(cmp)> obj(cmp);