![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码
Vincent_xzh
这个作者很懒,什么都没留下…
展开
-
Leetcode 342. power of four
Leetcode 342. power of four Leetcode 342. power of four 工具: 0101 0101 0101 0101 0101 0101 0101 0101 (32bits) 1431655765 作用: 4的零次方: 0001 4的1次方: 00100 4的2次方: 10000 也就是说,1431655765这个十进制数是power of 4的...原创 2018-10-12 15:09:33 · 241 阅读 · 0 评论 -
Leetcode 99. Recover Binary Search Tree
Recover Binary Search Tree 题目描述: Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. 解决思路: 题目要求把一个有序二叉树恢复,其中的两个值调换了,要修改过来。 题目给出的list是广...原创 2018-11-21 14:50:59 · 112 阅读 · 0 评论