Introduction - If you have any usage issues, please Google them yourself
Gray code generated for a given positive integer n, Gray code to meet the following conditions of a coding sequence: (1) coding sequence by the 2n months, each code is a length of n-bit binary string. (2) without the same sequence number. (3) the location of sequences adjacent to the two just have a different encoding.