Gotcha, good words are repeating in input


#1

Try creating trie of goodwords and then calculate the score of review.