You are viewing a single comment's thread. Return to all comments →
C++ solution using set:
int stringConstruction(string s) { set<char> st(s.begin(),s.end()); return st.size(); }
Seems like cookies are disabled on this browser, please enable them to open this website
String Construction
You are viewing a single comment's thread. Return to all comments →
C++ solution using set: