Nhật Quang Ngô's submission of Smallest KMP | CodeChef