Project 1 - Creation of user defined data type to implement the user interfaces for working with ‘Set’ (Mathematical Set theory) using Linked List
.c file has been attached below. I wrote a program to get two sets as a list from the user and finds Union and Intersection.
I did not sort the list because it was not mentioned to sort it in the question but I checked for repetition of data and coded accordingly.
The screenshot of the Output has also been uploaded.
Outcomes Achieved:
- Created Nodes using Linked List
- Got Intersection and Union of data two list
- Compared the elements of the list