Yes, I agree that it is a Ruby convention. The reason why I didn't use the underscore notation is because I wanted to avoid duplicating sections of the description, including the rather large examples. But..I should get used to Ruby's conventions. Give me sec
the Link was updated to https://blog.ostermiller.org/finding-a-loop-in-a-singly-linked-list/
My mind was blown away with "Catch Loops in Two Passes" approach! How elegant.
Great article, yep, I did use the last one. Since there is a tail before the loop, I need to call the method twice.
You have forgotten that one can use recursion!
I tried the regexp method at first, but I'm still not good enough at it. Finally did it using the string manipulation.
Rubular is a good site to test regexp.
Your quick review really helps newbie to learn related material. Thank you.
Great article!
Thanks for your feedback. The method now uses underscore notation.
Yes, I agree that it is a Ruby convention. The reason why I didn't use the underscore notation is because I wanted to avoid duplicating sections of the description, including the rather large examples. But..I should get used to Ruby's conventions. Give me sec
Look at the Notes section point 2, I clearly mention that there will be a clear winner or all have the same.
Again, yes.
Yes.