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: Thu, 18 Feb 2021 20:56:01 +0000 [thread overview]
Message-ID: <ly7dn5859a.fsf@pushface.org> (raw)
In-Reply-To: f3d5e634-39e4-4c60-8f28-bb111df8391dn@googlegroups.com
Mehdi Saada <00120260a@gmail.com> writes:
> insertion_A_on_place_b(List, List.next);
I think your algorithm works provided that Before_A and Before_B aren't
too close together; i.e. if Before_A.Next is equal to Before_B.
next prev parent reply other threads:[~2021-02-18 20: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 [this message]
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox