+ 5
Data structure using c
there are two linked list a and b containing the following data a:2,5,9,14,15,7,20,17,30 b:14,2,9,13,37,8,7,28 to create a linked list c that contain only those elements that are common in linked list a and b . a linked list d which contains all element of a as well as b ensuring that there is no repetation of elements
8 odpowiedzi
+ 5
Here is the hint, but now you have to come up with the logic because we can't share the code. You can share your own logic, and if there are any doubts, we will help you.
In Linked List C : It contains elements that are the same in lists A and B.
In Linked List D: It combines lists A and B but doesn't have any repeated elements.
+ 3
This is not a platform to give you a readymade code, firstly, please share your attempt
+ 3
Thanks Dii for this help.
I will try again to built up it's accurate logic.
+ 2
Yes, I know but I shared this problem in discussion session to be clear about linked list and above question making me more confuse about the concept of linked list
+ 2
Simply just two Linkedlist has given to you . In Linkedlist c you have to store the a and b data which are common or present in both the list
Second one d Linkedlist will contains all the elements without repetition if a and b are repeated then it should display once
0
Comocate the coding block
0
Am finding it hard to understand some certain things here pls can someone help me
Vishakha
0
I have not seen any codebits drop yet for review, this is an interesting assignment.