Search
⌘K

Leetcode 884. Uncommon Words from Two Sentences

Find all words that appear exactly once in one sentence and do not appear in the other; equivalently, count word frequencies across both space-separated sentences and return the words whose total frequency is exactly one.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.