HF RL Explorer

Task: Find the Key of the Largest Value in a Ruby Hash

Task: Find the Key of the Largest Value in a Ruby Hash: a task in Terminal-Lego-15k (Harbor dataset). You are given a Ruby hash that maps state abbreviations to integer counts. Your task is to write a Ruby script that finds and outputs the key associated with the largest value in the hash.

The task

You are given a Ruby hash that maps state abbreviations to integer counts. Your task is to write a Ruby script that finds and outputs the key associated with the largest value in the hash.

Part of PrimeIntellect/Terminal-Lego-15k.