Ruby test

def sum_eq_n?(arr, n)
  return true if arr.empty? && n == 0

  word = "ADF"
  "this is a #{word}"

  arr.product(arr).reject { |a,b| a == b }.any? { |a,b| a + b == n }
end
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Fumio.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.
Buy Fumio