摘要: Given a singly linked list, return a random node's value from the linked list. Each node must have the same probability of being chosen. Implement the 阅读全文
posted @ 2016-08-11 10:17 Grandyang 阅读(15511) 评论(7) 推荐(1) 编辑
Fork me on GitHub