Re: [OT] Linked list fixup [was: Fast DES IP]
From: Arnaud Carré (arnaud.carreNOSPAM_at_freesurf.fr)
Date: 12/09/04
- Next message: Arnaud Carré: "Re: [OT] Linked list fixup [was: Fast DES IP]"
- Previous message: Mok-Kong Shen: "Re: [Lit.] Buffer overruns"
- In reply to: Francois Grieu: "[OT] Linked list fixup [was: Fast DES IP]"
- Next in thread: Francois Grieu: "Re: [OT] Linked list fixup"
- Reply: Francois Grieu: "Re: [OT] Linked list fixup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 9 Dec 2004 12:15:28 +0100
> We have a non-empty linked list in RAM, of unknown size n,
> and a pointer to the head node. Instead of nicely ending
> with a node having a NULL "next" field, the list is
> "loopy" and the last node in the list has a "next"
> field that points to some unknown node in the list.
could you be more precise ? I mean, if I parse the first node of the list, I
read its "next" member. As I don't know anything about the list, I can't say
if that "next" value is a valid node or the "unknown node in the list" ?
Are you sure you describe completly the challenge or did I miss something ?
- Next message: Arnaud Carré: "Re: [OT] Linked list fixup [was: Fast DES IP]"
- Previous message: Mok-Kong Shen: "Re: [Lit.] Buffer overruns"
- In reply to: Francois Grieu: "[OT] Linked list fixup [was: Fast DES IP]"
- Next in thread: Francois Grieu: "Re: [OT] Linked list fixup"
- Reply: Francois Grieu: "Re: [OT] Linked list fixup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|