Constraint of module 5 in concept array

is it possible to have more than 255 distinct characters in a string but in the constraints we have given that value of distinct character could be up to 10^5 is there any mistake or i am getting it wrong?

If there can’t be a substring with k distinct characters the answer will be 0. Your algorithm should be able to give correct output even if we given any value of k.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.