Guidewire Interview Question

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