Created
October 14, 2019 23:58
-
-
Save AumCoin/4c2993fc548b8966503b96e74ac48013 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b={} | |
a[1...a.length].each do |m| | |
if b.key? m[3] | |
b[m[3]].push m | |
else | |
b[m[3]] = [m] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment