finding the longest non-repetitive substring