Prasanjit Barua 's submission of How to Minimize a String | CodeChef