Write a program that converts a hash to an array of key-value pairs.
EasyProblem Statement
Write a program that converts a hash to an array of key-value pairs.
Sample Input
{a: 1, b: 2, c: 3}Sample Output
[[:a, 1], [:b, 2], [:c, 3]]
Limits
Time: 2s · Memory: 256 MB