Pregunta de entrevista de Lenskart Solutions

1. One medium-level string-based problem