I would like to remove the duplicate elements from a List. Some elements of the list looks like this:
Book 23
Book 22
Book 19
Notebook 23
Notebook 22
Notebook 19
Pen 23
Pen 22
Pen 19
I would like to keep in the list just
Book 23
Notebook 23
Pen 23
How can i do that ?