Question: Problem 2 Linked List: ( 3 5 pts ) Write a function, def convert ( list 1 : LinkedList ) > LinkedList: convert ( )
Problem Linked List: pts
Write a function, def convertlist: LinkedList LinkedList: convert function accepts a linked list of strings. Reverse the order of every group of two elements NOT nodes If there are odd number of elements, the last group is considered reversed.
Run this function with test case:
list: bc
this function should return b
Run this function with test case :
list: b
this function should return
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
