public static void MergeAndRemoveDuplicatesInLinkedLists() { var obj = new CareerCupQnA(); var input = new List <List <int> > { new List <int> { 1, 2, 3, 4 }, new List <int> { 2, 5, 6, 7 }, new List <int> { 6, 9, 10, 11 }, }; obj.MergeAndRemoveDuplicatesInLinkedLists(input); }