Can anybody tell me how to implement a program to check a string contains all unique chars ?
Similarly (and without arrays), use a HASH TABLE!
//psuedo code:
Run time is O(n) and memory space is better too since you don't need an array of 256 (asciis)