create a linked list 8 -> 4 -> 2 -> 10
llist2 . push ( 10 ) ; llist2 . push ( 2 ) ; llist2 . push ( 4 ) ; llist2 . push ( 8 ) ; intersection = intersection . getIntersection ( llist1 . head , llist2 . head ) ; union = union . getUnion ( llist1 . head , llist2 . head ) ; Console . WriteLine ( " First ▁ List ▁ is " ) ; llist1 . printList ( ) ; Console . WriteLine ( " Second ▁ List ▁ is " ) ; llist2 . printList ( ) ; Console . WriteLine ( " Intersection ▁ List ▁ is " ) ; intersection . printList ( ) ; Console . WriteLine ( " Union ▁ List ▁ is " ) ; union . printList ( ) ; } }