From: Simon Wright <simon@pushface.org>
Subject: Re: can't understand how to move a node of a linked list to another place on the same
Date: Fri, 19 Feb 2021 18:56:47 +0000 [thread overview]
Message-ID: <lyczwvnaxc.fsf@pushface.org> (raw)
In-Reply-To: ly35xs8lvg.fsf@pushface.org
Simon Wright <simon@pushface.org> writes:
> Consider a list [p q r s t] and you want to move r after s. I'm going to
> use w -> x to mean that the node whose value is 'w' has Next pointing to
> the node whose value is 'y'; personally I find it easier to draw the
> nodes on paper, it's hard work typing the equivalent. YMMV.
obvs w -> x is meant to mean that the node whose value is 'w' has Next
pointing to the node whose value is 'x'
prev parent reply other threads:[~2021-02-19 18:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 1:51 can't understand how to move a node of a linked list to another place on the same Mehdi Saada
[not found] ` <1b206764-967c-4b1b-af9c-61a0cd0750fcn@googlegroups.com>
2021-02-18 7:06 ` Gautier write-only address
2021-02-18 12:54 ` Mehdi Saada
2021-02-18 15:09 ` Jeffrey R. Carter
2021-02-18 20:56 ` Simon Wright
2021-02-18 22:38 ` Mehdi Saada
2021-02-19 9:09 ` Simon Wright
2021-02-19 14:13 ` Mehdi Saada
2021-02-19 18:56 ` Simon Wright [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox