Ad
  • Custom User Avatar

    @Dinglemouse I always find your awesome animal-related katas 10 min before bedtime, try and brain them out a bit and then I dream the weirdest cr4p - last time it was ants bridge and I dreamt I was teaching them switch statements in god!amn PHP ;(
    Will leave this one for tomorrow! Anyway, point of this comment being: great job with your katas, I find them incredibly enjoyable :)

  • Custom User Avatar

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

  • Custom User Avatar

    Thanks @Blind4Basics for all your input - I tried both ways before already and the two test cases fail anyway. Which leads me to think that it might be some edge case scenario / return values issue. Anyway - I will investigate and prob will share here once I crack it ^^

  • Custom User Avatar

    Thanks g964, I will try to find a workaround :) thought I'd ask anyway.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    @JustyFY could you have a look at this one too if you get a chance? I'm Java 8

    So it seems like it's the test case that's faulty? Did you guys get it to work without first revealing the Solutions/Test cases? Don't wanna lose my rank pointssss. Thanks a mil, appreciate your input

  • Custom User Avatar

    All test cases pass for me apart for one called random(). Does anyone know what scenario does it test and with what data? Failing with error:

    array lengths differed, expected.length=0 actual.length=37153

  • Custom User Avatar

    @marko-bekhta. You can fix it like this:
    Node node1 = new Node();
    node1.value = 2;
    Your node1 object will now have a value of 2. Should have been mentioned in the description though.