Altimetrik Interview Question

Streams API collection.counting() Remove distinct one