filmov
tv
#short #youtubeshorts Remove duplicate elements from list of integer and sort the list in desc order

Показать описание
#short #youtubeshorts Remove duplicate elements from list of integer and sort the list in desc order
Remove the duplicate elements from the list of integer &
sort the list in descending order
input 1,33,4,5,1,90,56,4,4,5
output 90,56,33,5,4,1
distinct().
sorted(Comparator.
reverseOrder()).
Remove the duplicate elements from the list of integer &
sort the list in descending order
input 1,33,4,5,1,90,56,4,4,5
output 90,56,33,5,4,1
distinct().
sorted(Comparator.
reverseOrder()).