摘要: class Solution { public Node copyRandomList(Node head) { if(head == null) return null; Node cur = head; // 1. 复制各节点,并构建拼接链表 while(cur != null) { Node 阅读全文
posted @ 2022-04-06 23:00 大雄的脑袋 阅读(11) 评论(0) 推荐(0) 编辑