Hacker News new | ask | show | jobs
by asdginioubnou 2240 days ago
>Let's say there are M different characters in the alphabet and N different characters in the string.

I mean "N characters in the string", i.e. the string is length N. There won't be N different characters.