Yen-Hsiang Huang

Results 2 issues of Yen-Hsiang Huang

分享一個非常酷炫的位運算解法 ``` bool isPowerOfTwo(int n) { return n > 0 && (n & (n - 1)) == 0; } ```

### Is this a hackmd.io issue? - [x] Yes, the bug happens on https://hackmd.io - [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in...