Zhang Yide's submission of Minimize the string | CodeChef