What exactly does perfectness mean?

In the question, its written that perfectness means maximum length sub string with equal characters. Can you please explain what does equal characters mean? And if possible give an example. Thank you

you can refer Sanket And Strings conversation to understand the question.

thanks