Mphasis Interview Question

How to remove non duplicate using java8 Spring boot microservices questions Concurrent hashmap