Ad
  • Custom User Avatar

    Great point. Kata updated.

  • Custom User Avatar

    The description states that the method must accept dimensions as parameters...

  • Custom User Avatar

    would it be more challenging if I require the return value to be an array of Strings rather than an array of Fixnums?

  • Custom User Avatar

    If someone can help with the test cases, I'd really appreciate it. I'm not sure I completely understand how to use them, so it's possible I didn't set them up correctly.

  • Custom User Avatar

    Can someone explain this solution to me? My solution is fine, but could use some refactoring, so I was wondering how this solution works - particularly how the regexp works here. Thanks.

  • Custom User Avatar

    Wow. Very clever. I know pretty much nothing about binary (currently working on changing that), so I guess that explains why I didn't understand it. It's really incredible how much I've learned new skills and refined old skills thanks to this site and its knowledgeable users. Looking forward to learning more, thanks so much for the help!

  • Custom User Avatar

    It seems that some people use github merely to collect their solutions, not necessarily for cheating purposes.

    Additionally, perhaps if there was a way to provide assitance (in the form of hints or providing some subtle direction) to newer programmers who may be stuck on a Kata, they wouldn't have any impetus to scour for solutions. I'm sure if someone is here in the first place, they wouldn't look for a solution for the sole purpose of passing the Kata, as that would defeat the point of being here. They are most likely stuck and have no outlet through which to get past a particular obstacle and merely need a little nudge, which can be quite frustrating if they're stuck due to lack of knowledge in particular (rather than lack of creative problem solving in general). Maybe implement some type of chat feature where people can ask questions and receive immediate feedback?

    Mind you, I'm speaking purely from experience. Which on that note, I wanted to personally thank you for everything regarding this site. As someone incredibly new to computer science (2 weeks as of this post), this site has been, by quite a lead, the most helpful and constructive resource that I've used. I've literally recommended codewars to every single friend of mine involved in computer science. If not for you guys, my progression would have been significantly slower. Instead, I've accomplished months worth of learning in what is only two weeks. So thank you.

    My only complaint is codewars making me sit at my computer for 8 hours a day when I have other work to do, and preventing me from going to sleep before 3 AM. Boy is problem solving addictive :)

  • Custom User Avatar

    Can you explain how one can avoid iterating 26 times?

  • Custom User Avatar

    What does "compact" do in this case?

  • Custom User Avatar

    Can you explain your use of the ternary operator in this case?

  • Custom User Avatar

    I thought "<<" only adds things to a hash/array. What is its function here?