Pergunta de entrevista da empresa Capital One

Manipulate an array of characters to ignore certain characters.