Pregunta de entrevista de ByteDance

Chinese words and dynamic programming