Domanda di colloquio di Egyptian Banks Company

implement method to check if a string has unique characters , using data structure and without data structure ?