Given two positive integers n and k, a sequence of binary strings is generated using the following rules:
Where:
reverse(x) returns the string
invert(x) flips all bits in
Return the
Constraints:
n
k
Given two positive integers n and k, a sequence of binary strings is generated using the following rules:
Where:
reverse(x) returns the string
invert(x) flips all bits in
Return the
Constraints:
n
k