2020
Hackerrank Ruby - Enumerable - group_by Solution
Another function often used with data collections is one which groups the elements according to some evaluation result. Consider the following example. Let's say you have a list of 100 integers and you want to group…