Pregunta de entrevista de NerdWallet

CoderPad assessment on a string manipulation problem