Pregunta de entrevista de Infosys

first one was Longest Common Subsequence.