How to check the uniqueness inside a for-loop? How to check the uniqueness inside a for-loop? go go

How to check the uniqueness inside a for-loop?