Pregunta de entrevista de ThinkBridge

Practice DSA Question , based on Array and string