Link to code
Merge sorted linked list 0 score on submission
Dont use linklist list1 as static . I think you are facing problem while accessing the list1 in your merge_sorted_list function. So you can see that you have called your function merge_sorted_list by putting dot on list1 therefore in merge_sorted_list function you can access list1 through “this” reference variable.
Thankyou. My issue is resolved