Google Interview Question

Find the longest string consisting of the same elements