You are viewing a single comment's thread. Return to all comments →
public static int stringConstruction(String s) { Set<String> p = Arrays.stream(s.split("")).collect(Collectors.toSet()); return p.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 →