Thursday, November 2, 2017

[LeetCode]Power of Four


Power of Two类似的,我们只需要在其基础上确保其为1的位在第0,2,4...位上即可,代码如下:




No comments:

Post a Comment