2021年10月31日

摘要: 地址 https://leetcode-cn.com/problems/gray-code/ 格雷编码是一个二进制数字系统,在该系统中,两个连续的数值仅有一个位数的差异。 给定一个代表编码总位数的非负整数 n,打印其格雷编码序列。即使有多个不同答案,你也只需要返回其中一种。 格雷编码序列必须以 0 阅读全文
posted @ 2021-10-31 16:11 itdef 阅读(100) 评论(0) 推荐(0) 编辑

导航