Question d’entretien chez HubSpot

Given a string, find the most commonly occurring substring.