Pinterest interview question

Solve/ find a recurring substring pattern.