struct{
int value;
int *pointer;
}
I want to make doubly linked list using the above structure.
I want to make doubly linked list using the above structure. |
|||||
closed as unclear what you're asking by Bart van Ingen Schenau, MichaelT, gnat, GlenH7, Doc Brown Nov 11 '14 at 12:46Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||
|
You can use a XOR linked list. Traversing the list will then be:
You need to have 2 sequential elements to be able to traverse the list. And inserting and removing is more complicated. Most annoyingly debugging them are a pain in the ***. |
|||
|