Challenge: Union and Intersection of Linked Lists
Try to solve the Union and Intersection of Linked Lists problem.
We'll cover the following...
Statement
Given the heads of two linked lists, head1 and head2, as inputs. Implement the union and intersection functions for the linked lists. The order of elements in the output lists doesn’t matter.
Here’s how you will implement the ...
Ask