Contiguous Substring Hackerrank Problem Of The Day