Akamai interview question

Given a substring determine the alphabetically maximum substring