概率论与数理统计
文章平均质量分 72
帘外雨
学生一枚
展开
-
LeetCode 382. Linked List Random Node
题目描述:LeetCode 382. Linked List Random NodeGiven a singly linked list, return a random node’s value from the linked list. Each node must have the same probability of being chosen.Follow up:What if the转载 2017-09-14 20:07:37 · 236 阅读 · 0 评论 -
LeetCode:384. Shuffle an Array
Discuss Pick One <!-- @END Action Button--> <div class="question-description"> <p></p><p>Shuffle a set of numbers without dup原创 2017-09-14 21:25:01 · 346 阅读 · 0 评论