Pergunta de entrevista da empresa SimplyAsk

Leetcode easy question, find the shortest repeating character in a word.