python 感觉可以答一波了,用一楼的思路显然太复杂,我来个简单的 # -*- coding:utf-8 -*- class RandomListNode: def __init__(self, x): self.label = x self.next = None self.random = None class Solution: def BFS(self, pHead): if pHead and pHead not in self.memo: self.memo[pHead] = RandomListNode(pHead.label) self.BFS(pHead.next) sel...