Interview Solution

Every big computing disaster has come from taking too many ideas and putting them in one place. Gordon Bell

Validate Unique

Language Java | Level Intermediate | Category Interview Problems | July 24, 2015 4:52 pm

Comments


Interview Problem

validate unique characters in given string.
Write a program to implement an algorithm to determine if a string has all unique characters.
Example:-
Given string "hello" return false
Given string "wel" return true


Output

   					 
'hello' contains unique chars:false
'true' contains unique chars:true


				    

Comments



Please login to add comments.