Question d’entretien chez Meta

String compression: Input string: "aaabbbcc" Ouput string: "a3b3c2" . Constraint: Do it inplace. No extra memory

Réponses aux questions d'entretien

Utilisateur anonyme

6 janv. 2016

what is if the inpute is "abc"?

Utilisateur anonyme

10 janv. 2016

if the input is abc then we need linear extra memory