有没有一种格雷码生成方法,使得前 nnn 个格雷码恰为 0∼n−10 \sim n-10∼n−1 的一个排列?(如 n=7n=7n=7 时有 3,2,0,1,5,4,63,2,0,1,5,4,63,2,0,1,5,4,6)