最后的 if(list1!=null) cur.next = list1; if(list2!=null) cur.next = list2;应该是while循环吧?
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务