Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Searching for unique values in the list of integers

You should implement the List<Integer> Task.getUnique(List<Integer> list) method which takes a list of integers. This list can contain duplicates (element with the same value). The method should return only unique values (each integer is represented in the result only ones).

Fox example: For the List(10,20,30,10,20,40) the method should return the List(10,20,30,40) result.