This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# A simple hash table implementation in Ruby using Ruby's built-in | |
# prehashing methods, chaining, and variable load factors. | |
# | |
# Author:: Hunter Gatewood | |
# A linked-list node with key, value, and next node attributes. | |
class Node | |
attr_accessor(:key, :val, :next_node) |
NewerOlder