- 1
#Java
Create a collection. Fill in the information. Remove duplicates and sort in reverse public static <T> Collection<T> removeDuplicates(Collection<T> collection) { return new HashSet<>(collection); }
2 Answers
0
Help me please
0
ŠŠ°Š»ŃŃŠ±ŠµŠŗ ŠŠ±Š“илазиз ŃŃŠ»Ń
Take reference from here to remove duplicate values.
https://code.sololearn.com/cjLd3h1RpTL8/?ref=app