经测试在21行后添加 map.put(p1.random, new RandomListNode(p1.random.label)); 是正确的结果,可能博主大意了啊。。。
点赞

相关推荐

牛客网
牛客企业服务