Longest repeating and non overlapping substring in a string


This is a companion discussion topic for the original entry at http://iq.opengenus.org/longest-repeating-non-overlapping-substring/