What are distinct characters?

i came across this problem https://codeforces.com/problemset/problem/236/A 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!

1 Like

yep got it thanks bro