Showing posts with label hashes. Show all posts
Showing posts with label hashes. Show all posts

Tuesday, 12 July 2016

Implement a Hash With Indifferent Access

Difficulty:
Easy

Tags:
hashes, classes

Instructions:
Implement a hash class which does not distinguish between symbols and strings for its keys.

Problem and Solution:

Related keys of Hash

Difficulty:
Easy

Tags:
hashes

Instructions:
Get keys of a hash whose values equal to given arguments.

Problem and Solution:

The Little Hash Key that Could

Difficulty:
Easy

Tags:
hash

Instructions:
Given a hash with numeric values, return the key for the smallest value.

Problem and Solution: