...

>

Challenge 9: Union & Intersection of Linked Lists

Challenge 9: Union & Intersection of Linked Lists

Try to solve the Union and Intersection of Linked Lists problem.

Statement

Given the heads of two linked lists, head1 and head2, as inputs. ...