Question d’entretien chez Broadcom

Write an algorithm in pseudo code that finds a sequence of identical characters in a string