removeDuplicates C++
removeDuplicates python, uses 'from collections import OrderedDict'
anagram c++
use 'from collections import defaultdict'
anagram python uses 'from collections import defaultdict'
also uses 'for key, val in defaultdict(int).iteritems()'