+ 2

Hashset vs linkedlist/arraylist

whats the difference between hashset and linkedlist/arraylist.from the sololearn example,theirs step are almost identical and even the output they produced...

6th Nov 2017, 5:34 PM
oyl
7 Respostas
+ 9
A linked list is like an arraylist except it is better when dealing with multiple insertions and deletions while a hashset is a data structure that does not permit duplicate members. For example an arraylist or linked list can contain members:"a" ,"b", "b", "a" but a set will only contain "a" and "b" no duplicates
6th Nov 2017, 7:35 PM
David Akhihiero
David Akhihiero - avatar
0
if u dont wish to answer,then dont answer.nobody is forcing u...
6th Nov 2017, 5:43 PM
oyl
0
i like answering question, but your question shows zero research effort and is just lazy.
6th Nov 2017, 5:45 PM
Jeremy
Jeremy - avatar
0
how do you know?the truth is that i dont understand the explanation on the other sites thats why im asking here...i can see that u are someone who likes to spread hatred from the comments that u posted on other post.maybe u are depressed or simply a keyboard warrior.this is a discussion area.am i wrong to ask a question.please do not reply thanks
6th Nov 2017, 5:52 PM
oyl
0
then write it into your question. show people that you actually did something and that you are trying to understand it. Nobody will answer simple google-able questions. Also tell people what you dont understand.
6th Nov 2017, 5:56 PM
Jeremy
Jeremy - avatar
0
i dont think i need to be so specific here.do i need to tell u my mom's name?maybe this is a stupid question to you.At least im not judging ppl saying things like "stupid question for stupid ppl" and lazy blah blah...be more mature kid
6th Nov 2017, 6:01 PM
oyl