Write a function AlternatingSplit() that takes one LinkedList and… Write a function AlternatingSplit() that takes one LinkedList and div
Write a function AlternatingSplit() that takes one LinkedList and… Write a function AlternatingSplit() that takes one LinkedList and divides up its nodes to make two smaller lists ‘a’ and ‘b’. The sublists should be made from alternating elements in the original list. So if the original list is 1->2->3->4->5->6 then one sublist should be 1->3->5 and the other should be 2->4->6. Your code should be in Java. Computer Science Engineering & Technology Java Programming CUS 11 Share QuestionEmailCopy link


