Pregunta de entrevista de Guidewire

Coding test asked to implement simple case handler, and a string algorithm