Count number of unique characters in string without using any DS in O(n)?

suppose you get string String str = "abbcaezzdd" , then count the unique characters without using any DS.

Comments (1)