- 博客(2)
- 资源 (4)
- 收藏
- 关注
原创 888. Fair Candy Swap
**888. Fair Candy Swap**Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-th bar of candy that Bob has.Since...
2018-08-25 10:56:36 472
原创 Leetcode 关于树的题:589. N-ary Tree Preorder Traversal 和 429. N-ary Tree Level Order Traversal
Given an n-ary tree, return the preorder traversal of its nodes’ values.For example, given a 3-ary tree:Return its preorder traversal as: [1,3,5,6,2,4].Note: Recursive solution is trivial, cou...
2018-08-25 09:30:26 414
python写的列主元Gauss消去法
2015-09-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人