Pregunta de entrevista de TiVo

String search, replacement. Get familiar with few algorithms.. Get some practice with coding..