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...
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
if u dont wish to answer,then dont answer.nobody is forcing u...
i like answering question, but your question shows zero research effort and is just lazy.
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
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.
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