Hi,
How do we remove duplicate elements from an Arraylist?
Ans: Easiest way is to use Hashset.
Is there any other efficient way to so this??
Printable View
Hi,
How do we remove duplicate elements from an Arraylist?
Ans: Easiest way is to use Hashset.
Is there any other efficient way to so this??
Why do you need another way if you've already answered your own question?