Domanda di colloquio di Clickr Media

find the longest substring without consecutive recurring characters