IBM Interview Question

program to find duplicates in list using java 8?