We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358766c commit a33616cCopy full SHA for a33616c
Contents/09.Algorithm-Base/06.Bit-Operation/01.Bit-Operation.md
@@ -247,7 +247,7 @@ class Solution:
247
| **去掉右边起第一个 `1` 的左边** | <code>x & (x ^ (x - 1))</code> 或 <code>x & (-x)</code> | `100101000 -> 1000` |
248
| **从右边开始,把最后一个 `1` 改写成 `0`** | <code>x & (x - 1)</code> | `100101000 -> 100100000` |
249
250
-### 3.2 二进制枚举子集
+### 3.3 二进制枚举子集
251
252
除了上面的这些常见操作,我们经常常使用二进制数第 $1 \sim n$ 位上 $0$ 或 $1$ 的状态来表示一个由 $1 \sim n$ 组成的集合。也就是说通过二进制来枚举子集。
253
0 commit comments