You are given an integer n.
Return true if its binary representation contains exactly one pair of consecutive set bits, and false otherwise.
Example 1:
Input: nums = 6
Output: true
Explanation:
110."11"). Thus, the answer is trueβββββββ.Example 2:
Input: nums = 5
Output: false
Explanation:
101.falseβββββββ.Constraints:
0 <= n <= 1056
5