What are distinct characters?

i came across this problem Problem - 236A - Codeforces and cant understand what to do. can someone give an example and explanation what does distinct characters mean ? i think it means repeated characters right??

Here distinct characters is used in literal sense. It means different characters. For example : ‘a’ and ‘b’ are distinct while ‘a’ and ‘a’ are same. So, a string say, “absgj” contains 5 distinct characters. Also string, “hello” contains only 4 distinct characters.
I hope this helps!

3 Likes

yep got it thanks bro