fe2c1c6eb6 | ||
---|---|---|
.. | ||
readme.md |
readme.md
Lösung: Hashes
def de_dupe(input) hash = {} input.each { |e| hash[e] = true } hash.keys.sort end
puts de_dupe(worte)
fe2c1c6eb6 | ||
---|---|---|
.. | ||
readme.md |
def de_dupe(input) hash = {} input.each { |e| hash[e] = true } hash.keys.sort end
puts de_dupe(worte)