Pregunta de entrevista de Google

Implement a function boolean matches(String text, String pattern) to find match pattern in the string, pattern can be seperated but the order of letters in pattern cannot be changed.

Respuestas de entrevistas

Anónimo

11 abr 2012

longest common subsequence

1

Anónimo

9 mar 2012

Can you please clarify what you mean by order of pattern can be separated.

Anónimo

11 abr 2012

I think this is a finding a subsequence in a string problem