Alex Lungu's submission of How to Minimize a String | CodeChef