keywords - bradendubois/competitive-programming GitHub Wiki
Keywords
ID: keywords
Difficulty: 2.3
CPU Time: 2 seconds
Memory: 1024 MB
Solution
For this, keep a map of words to whether they've been seen or not. Take in each word, and convert it to lowercase and its hypens to spaces, and store it. If it hasn't been seen before, increment your tally of unique words seen.