693. Binary Number with Alternating Bits
Easy
Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have different values.
Easy
Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have different values.