Pregunta de entrevista de Pocket Gems

1. easy DP algorithm problem 2. easy string manipulation and sorting problem 3. code review