Optimizing Performance with HashSets in Python | CodeSignal Learn