News for hackers. Stuff that matters.
Re:Linked List Problems (2002) [pdf] by linkpoint1 on Saturday November 25, 2017 @09:42AM (#15776125)
if you program in Lisp the function list-length gives nil for circular lists. Ninety-nine problems contains similar problems with lists.

I should have said that the difference between increments must be coprime with n to guarantee that the differece becomes 0 module n, that is both pointers get equal.

There are no comments on this comment yet.