Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • 5595067?v=3

    This comment is hidden because it contains spoiler information about the solution

  • Profile-pic
  • 23147487?v=4

    Great Kata. The title is nice, it contains a hint, I find this hidden hint only after I solved the kata :)

  • 23147487?v=4

    Where in documentaton I able to read about <<. Secially class << Modlue_name, what is the object that answers on << method in this cace? Thank you

  • 23147487?v=4

    This is amazing kata. I dive into Ruby so far, make interesting research using set_trace_funct. And also after passing it got a bunch of interesting solutions. It's super cool. Great job.

  • 23147487?v=4

    7ku it's a very beginer who just started sort arrays, how is it possible that beginer knows about method lookup chain in ruby, distinkt modules from classes, and be good in exceptions?

  • Profile-pic

    Lots of thanks for your encouragements!

  • Profile-pic

    No, sorry, I did not read that post. That explains it obviously. Anyway, don't get me wrong, I really appreciate your effort and dedication for this and would like to take the opportunity to thank you for all that.

  • Profile-pic

    Well as I said there are no error in the tests.
    I thought you have read somewhere below the answer to a post about Java where I said:

    "Unfortunately "actual" and "expected" are swapped in Java tests but after that more than 500 guys passed the Java kata it is impossible to change anything so when you have "expected false, but was true", you should read it "expected true but was false". Sorry for that inconvenience."

    So when you got "expected:false but was:true" in fact you returned "false" where the test expected "true".
    Try to print the input and your answer to see what happens when one or both arrays are empty (one of the traps is there). Once again I am sorry for that but I can go against CW rules. Hopefully you will succeed!

  • Profile-pic

    Well, as I said, if the code is 'return false;' and nothing else, how can it ever return true? How could it not be an error in the tests? Does not make sense to me.
    And what do you mean by 'modify input in the code' ?

  • 23147487?v=4

    This is super KATA for Rubist, it bring developer to work with enumerator. I usually delay to read about enumerator but this KATA force to do it. Great work. Thank you.

  • Profile-pic

    Sorry but there are no error in the tests. Note at the top of the page that 1777 guys passed the Java kata. Do you modify the input in your code?

  • 23147487?v=4

    Great KATA. I Got interesting aproaches from sulotions list. Thank you

  • 23147487?v=4

    cool. Usually check for nill so verbose, but here short and nice. Beatuiful solution.

  • 23147487?v=4

    This is amazing solution. First time in CW I meat rescue. I'll save this snippet. Great. Thank you

  • Loading more items...