Juniper Networks interview question

Program in Ruby hash implementation