You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: uncommon_words.rb
    path of file: ./repos/Ruby/data_structures/hash_table
    
    the code of the file until where you have to start completion: # Challenge name: Uncommon words from two sentences
#
# We are given two sentenc
    
def find_uncommon_words(strA, strB)
  array = strA.concat(' ', strB).split(' ')
  hash = Hash.new(0)
  result = []

  array.each do |word|
    hash[word] += 1
  end

  hash.each do |k, v|
    result.push(k) if v < 2
  end

  result
end