
TL; DR: Get the solution on my Github repository. Problem Create a word occurrence counter. Given a sentence, such as the following one: sentence = "I love Ruby, Ruby is a great language!" The result would be a hash {"I"=>1, "love"=>1, "Ruby,"=>2,...
I'm a passionate software developer.
Markdown supported · ⌘↵ to post
No responses yet.