Hi guys,
I am currently learning Ruby and I am wondering whether you guys can suggest some medium to difficult iterators to implemet?
Thanks
Hi guys,
I am currently learning Ruby and I am wondering whether you guys can suggest some medium to difficult iterators to implemet?
Thanks
Try mastering Enumerable.inject. It's a really helpful method that reduces LOC.
There are http://rubyquiz.com/ and more generic http://projecteuler.net/. You will find different exercises in them that you can solve using iterators, recursion, or something else.