Interview Solution

One principle problem of educating software engineers is that they will not use a new method until they believe it works and, more importantly, that they will not believe the method will work until they see it for themselves. Humphrey

Remove Duplicate

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

Comments


Interview Problem

Remove duplicate in given string.
Write program to remove duplicate characters using hash map
Example:-
Given string "hello" return "helo"


Output

   					 
Before remove duplicate:hello
after remove duplicate:helo

				    

Comments



Please login to add comments.