Given an integer , return true if it is a power of two, otherwise false.
A power of two has exactly one set bit in binary: are 1, 10, 100, 1000, 10000, ... in binary.
Given an integer , return true if it is a power of two, otherwise false.
A power of two has exactly one set bit in binary: are 1, 10, 100, 1000, 10000, ... in binary.