Goldman Sachs interview question

longest repeating substring in a given string