Generate a circular permutation with number of mismatching bits between pairs of adjacent elements exactly 1
Given two integers N and S, the task is to find a circular permutation of numbers from the range [0, 2(N - 1)], starting with S such that the count of mismatching bits between any pair of adjacent numbers is one. Examples: Input: N = 2, S = 3Output: [3, 2, 0, 1]Explanation: The binary representation