Pergunta de entrevista da empresa Pocket Gems

Phone round: clone graph Two onsites: 1. Achievement system (OO design) basically implement a system that awards players 2. Implement a Str class with Str* substr() that shares char* data with original Str object 3. Implement strstr() 4. Median of two sorted 5. Sort Colors 6. Return number of groups of words, where words are grouped: "dra" "gon" "dragon" -> 2 because {"dra", "dragon"} {"gon", "dragon"} "string" "trin" "ring" "ringo" "o" "z" -> 4 because {"o", "ringo"} {"ring" "ringo" "string"} {trin, string} {z}