Pregunta de entrevista de Chargebee

Coding Interview Question based on String