DISH Interview Question

Design Object oriented structure for a given sample problem. Reverse a string.