List of common elements and index from a list

i

please say me how can i sub list common elements and index from a list of elements

You could try to use group by key :slight_smile: