力扣有个差不多的:https://leetcode-cn.com/problems/linked-list-random-node/
点赞 1

相关推荐

牛客网
牛客企业服务