-
multiple linked lists
hello friends i m new to this forum
i guess there r better programmers here then at other places where i recieved no reply at all.......
i wanted to know about multiple linked lists :confused:
mainly the logic.........
i searched a lot but i did not get a convincing answer.......
i mean they jus speak of links to nodes and all
..............
-
> i mean they jus speak of links to nodes and all
Because essentially this is what linked lists are: you take a bunch of data, store it in a node structure (or a class) and connect nodes with pointers. Perhaps you should explain what you mean by "multiple."
-
i know how to create singly linked lists which r defined as say may be a data part with only one node at the end which stores the address of the next data part ...................
similarly i even know doubly linked lists......
where there are 2 nodes for accessing the previous and the next data part
But wat about multiple linked lists :confused: :confused: :confused:
which i hav been told to use in my assignment.......... :o
-
help me quickly
if anyone can .....................
its really urgent
and it is also essential to use multiple linked lists.....................
-
If you don't understand the assignment, you really need to ask the instructor. I think your instructor may mean "use many linked lists."
Multiple linked lists is a new one on me, I do not know what to implement off the bat, though I have a couple more ideas. So I think your instructor wants many different lists. You can ask him to explain what he means. If you do not have time for that, it's best to try to figure out the rest of the assignment, and do it the best you can. Then when you hand it in you can explain that you did not understand what he meant.
-
can i post may be the problem itself so tht u can help me out >>>>>>>>...............
-
The board has a strict homework policy and in this case anything we tell you might not be what the instructor wants anyway.
-
no not the homework
just hint related to wat my instructor wants.............
-
> i wanted to know about multiple linked lists
You pass the list you want to modify as a parameter.
Eg.
append( &list1, 123 );
append( &list2, 456 );