Ad
  • Custom User Avatar

    For c++, it's a bit different. Here's the initial code:

    std::vector<std::string> solution(const std::string &s)
    {
        return {}; // Your code here
    }
    

    So you need to return std::vector<std::string> for c++.

  • Custom User Avatar

    how can i do it in c++, how to return list in c++?