
leetcode
文章平均质量分 61
lingen1949
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[leetcode]382. Linked List Random Node
382. Linked List Random Node 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. Follow up: What if the li原创 2016-10-22 15:38:46 · 309 阅读 · 0 评论 -
406. Queue Reconstruction by Height
406. Queue Reconstruction by Height原创 2016-10-14 22:55:25 · 643 阅读 · 0 评论 -
[leetcode]404. Sum of Left Leaves
404. Sum of Left Leaves Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and原创 2016-10-20 11:20:45 · 403 阅读 · 0 评论 -
[leetcode]421. Maximum XOR of Two Numbers in an Array
421. Maximum XOR of Two Numbers in an Array Given a non-empty array of numbers, a0, a1, a2, … , an-1, where 0 ≤ ai < 231. Find the maximum result of ai XOR aj, where 0 ≤ i, j n. Cou原创 2016-10-20 16:08:19 · 2895 阅读 · 0 评论