Goldman Sachs Interview Question

longest repeating substring in a given string