Number of 1 Bits 给个整数, 数一. 因为是Integer,所以一共32位. 1 << i 就是每个位上的1. Date August 1, 2019 Category Leetcode Comments No Comments
Leaf-Similar Trees 比较两棵树的叶子顺序是不是一样. 这个就是traverse一下, 然后比较. Date August 1, 2019 Category Leetcode Comments No Comments