Dhruv Gheewala's submission of Valid String | CodeChef