Pergunta de entrevista da empresa HubSpot

Given a string, find the most commonly occurring substring.