Detect and Remove Duplicates | AlgoML Prep