Write a Ruby program to find the maximum and minimum values in a hash.
EasyProblem Statement
Write a Ruby program to find the maximum and minimum values in a hash.
Sample Input
{a: 10, b: 20, c: 5, d: 15}Sample Output
Maximum: 20 Minimum: 5
Limits
Time: 2s · Memory: 256 MB