Programming Project: Iterative List Merge Sort

It is shown as C code, but the Java incarnation only requires the replacement of “->next” with “.next”. Further, in my Java implementation the merge method is a static method of the class ListNode, so that invocation is “ListNode.merge” rather than “merge.” Traverse the list… ................
................