Tuesday common C++ interview problem: Longest palindromic substring.
Given a string as a std::string_view, return the longest palindromic substring (if multiple, then the first one).
Solve it yourself: https://compiler-explorer.com/z/ePKnozber
Solution: https://compiler-explorer.com/z/8nMM3G5E9