medium10 pts · first answer countshash-mapcountingstrings
Words that appear in only one sentence
A word is uncommon if it appears exactly once across both sentences combined. What are the uncommon words of "this apple is sweet" and "this apple is sour"?
Discussion 0
Join free to post in the discussion.
Related questions
- Changing one character of a stringBackend Developer
- Reversing a simple stringBackend Developer
- Building a long string in a loopBackend Developer
- Palindrome check with two pointersBackend Developer
- Cleaning a pasted mobile numberBackend Developer
- Splitting a line with empty fieldsBackend Developer
- Letter to array indexBackend Developer
- Anagram check by sortingBackend Developer