PUZZLE TIME how would you implement in ruby a method that takes ["a", "b", "a", "c", "c"] and returns {"a" => 2, "b" => 1, "c" => 2} ?
-
-
@Carols10cents you would not believe how much rust syntax I wrote trying to write this. You might -
@steveklabnik also i hope you've noticed that twitter has helpfully linked to http://Hash.new
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.