Domanda di colloquio di Meta

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

Risposte di colloquio

Anonimo

6 gen 2016

what is if the inpute is "abc"?

Anonimo

10 gen 2016

if the input is abc then we need linear extra memory