Eliminate the duplicates and print the data using collections in java language. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Eliminate the duplicates and print the data using collections in java language.

array list ----> xxx yyy xxx yyy zzz, final output should be only xxx yyy zzz .

28th Jun 2017, 8:38 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
15 Answers
+ 5
which language?
28th Jun 2017, 8:40 AM
jay
jay - avatar
+ 4
☺yeah, in the tags bit. Include java as a tag
28th Jun 2017, 8:50 AM
jay
jay - avatar
+ 4
found it here lol https://cheeze.club/fqkc // list is some List of Strings Set<String> s = new LinkedHashSet<>(list);
28th Jun 2017, 8:52 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
? it could be. Have you got any code?
28th Jun 2017, 9:08 AM
jay
jay - avatar
+ 4
Do you know how to create the first part of the problem? An array/collection which contains duplicates?
28th Jun 2017, 9:21 AM
jay
jay - avatar
+ 3
please add this info to future questions, it helps people who are looking for questions to answer
28th Jun 2017, 8:47 AM
jay
jay - avatar
+ 3
... seems pretty exact to me
28th Jun 2017, 9:00 AM
jay
jay - avatar
+ 2
ok I got u
28th Jun 2017, 8:48 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
+ 1
java
28th Jun 2017, 8:46 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
+ 1
sure
28th Jun 2017, 8:50 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
+ 1
what happened Mr.jay is it completed
28th Jun 2017, 9:06 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
+ 1
it's an assignment
28th Jun 2017, 9:20 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
28th Jun 2017, 10:29 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
0
how to add I mean what to add
28th Jun 2017, 8:48 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar
0
I need exact result as per my requirements
28th Jun 2017, 8:58 AM
Yaswanthreddy Sai
Yaswanthreddy Sai - avatar