Symbotic interview question

Coding exercise with string manipulation and some OOP questions