CodingReported in a candidate post, Jul 2019
Count distinct characters in a given string
Filed under Persistent
The question
Write an algorithm to calculate the total number of unique or distinct characters present in an input string.
No write-up yet. Related questions below have one.
Related Persistent questions
Collected from public candidate posts and coding forums. Updated Nov 2026.