Pregunta de entrevista de Livongo Health

Given a string, return the longest repeating substring.