Frage im Vorstellungsgespräch bei Livongo Health

Given a string, return the longest repeating substring.