HubSpot interview question

Given a string, find the most commonly occurring substring.