String Construction

  • + 0 comments

    C++ One Liner

    int stringConstruction(string s) {
        return set<char>(s.begin(), s.end()).size();
    }