Interview Solution

A great lathe operator commands several times the wage of an average lathe operator, but a great writer of software code is worth 10,000 times the price of an average software writer. Bill Gates

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.