diff --git a/data_structures/hash_table/uncommon_words.rb b/data_structures/hash_table/uncommon_words.rb index e3e8d2f..9e17b61 100644 --- a/data_structures/hash_table/uncommon_words.rb +++ b/data_structures/hash_table/uncommon_words.rb @@ -45,4 +45,8 @@ def find_uncommon_words(strA, strB) result end -puts find_uncommon_words("this apple is sweet", "this apple is sour") \ No newline at end of file +puts find_uncommon_words("this apple is sweet", "this apple is sour") +# => ["sweet", "sour"] + +puts find_uncommon_words("apple apple", "banana") +# => ["banana"] \ No newline at end of file