Pregunta de entrevista de Meta

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

Respuestas de entrevistas

Anónimo

6 ene 2016

what is if the inpute is "abc"?

Anónimo

10 ene 2016

if the input is abc then we need linear extra memory