Ad
  • Custom User Avatar

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

  • Custom User Avatar

    I don't understand the Hash part. Am I allowed to use a HashMap or not?

  • Custom User Avatar

    this kata is extremely useful in terms of getting what the Tortoise and Hare algorithm does (it detects the cycle in a smart way) AND what maybe even more important for Ruby (and I guess Python too) developers is the knowledge about object identity vs object equality. I spent hours trying to understand why my solution doesn't work: it was about to detect loop start node when we "come" to it from last tail node. and the thing is that it's not the same node as the-first-after-cycle-ended node even if you just compare it using "==" operator. and to be honest I'm still not sure why it's not and why I can detect equality of loop-start == loop-start-when-slow-and-fast-pointers-met nodes only when I do the second loop walkthrough (as standard solution suggests)

  • Custom User Avatar

    i don't even know what this is about

  • Custom User Avatar

    Hello, I need help. I use c++ and for self-checking I wrote the Node class with similar methods myself. The problem is that the tests are running correctly on my computer (when I type in test examples), but when I test the code here, it gives a completely different value. What could this be related to?

  • Custom User Avatar

    Anyone solved this Kata in php? I am struggling how to optain the value of a node.

  • Custom User Avatar

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

  • Custom User Avatar

    test said "don't mutate nodes". suggest test to ensure nodes are not mutated.

    (I overrode the class in my solution, but it was probably outside the intent of the author)

  • Custom User Avatar
  • Custom User Avatar

    I have a general question, does anyone know where the function getNext() is from and if it is possible to see the code for it or see if there are more functions available from that library?

  • Custom User Avatar

    Hi, python user here. I'm totally lost on this, i'm not sure how i'm supposed to extract even a single value. I've read most things about linkedlists and sorts, but if i try something like node.next or something i can't even extract the value. Can someone help me how i'm supposed to even print a single value, that's all i need.

  • Custom User Avatar

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

  • Custom User Avatar

    I wanted to run this on my local machine, does anyone know what the class LoopDetector looks like please.

  • Custom User Avatar

    I got "Maximum call stack exceeded" error in JavaScript. I use Set in my solution. I passed all tests, but fail at attempt

  • Custom User Avatar

    Perhaps because of my poor English, I don’t understand at all what is required of me in this kata. :/

    Please, can someone help me to understand problem of this kata. And, yeah, if you know russian language it would be more clearer for me. Thanks!

  • Loading more items...