Back to the Problem
Track a seen-set while scanning; output characters not seen before.
Complexity: O(|S|)