The article you linked to has algorithms which allow you to compute the node which has two references, one from the start of the list and one from the node that should be the "end" of the list. If you can find that node, then surely you can find the node that should be the end of the list. Find that node. Set its "next" reference to null.
My recommendation: draw lots and lots of boxes and arrows on your whiteboard. Understand how the algorithm works by manually running through it a half-dozen times on the board. Once you understand how it works visually, it will be a lot more straightforward to write the code. (My whiteboard is usually chock-full of boxes and arrows in about a dozen different colours for this reason...)