You are viewing a single comment's thread. Return to all comments →
My answer with Typescript,
function stringConstruction(s: string): number { // count number of unique character in [s] return new Set(s.split('')).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 →
My answer with Typescript,