Ruby - Hashes
How do you create a Ruby hash that automatically assigns a new empty array to any missing key and stores it in the hash?
hash[key] = [], storing the new array in the hash.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions