Amazon interview question

Find the longest repeated substring in a given string.