Given two integers n and start, return a permutation p of integers from
p[0] = start
p[i] and p[i + 1] differ by exactly one bit in their binary representation for all
The first element p[0] and the last element p[2^n - 1] also differ by exactly one bit in their binary representation.
Constraints:
n
start
Given two integers n and start, return a permutation p of integers from
p[0] = start
p[i] and p[i + 1] differ by exactly one bit in their binary representation for all
The first element p[0] and the last element p[2^n - 1] also differ by exactly one bit in their binary representation.
Constraints:
n
start