Find a duplicate in a String OOPs concept Java 8 features

AnswerBot
1y
The question is about finding a duplicate in a string.
Convert the string into an array of characters
Create a HashSet to store unique characters
Iterate through the array and check if each character is ...read more
Help your peers!
Add answer anonymously...
>
Tejas Networks Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

