How HashSet internally works in java ?
AnswerBot
2mo
HashSet internally uses a HashMap to store elements as keys with a dummy value.
HashSet uses a HashMap to store elements as keys with a dummy value
It does not allow duplicate elements
Elements are store...read more
Help your peers!
Add answer anonymously...
Top Citibank Assistant Vice President interview questions & answers
Popular interview questions of Assistant Vice President
Top HR questions asked in Citibank Assistant Vice President
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app