Google interview question

Find the longest string consisting of the same elements