Update 0090.子集II.md

这里与“补充”部分重复了,建议删掉
This commit is contained in:
sss1h 2024-02-02 11:06:31 +08:00 committed by GitHub
parent b92898d2df
commit 51481e11f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 7 deletions

View File

@ -158,13 +158,6 @@ public:
其实这道题目的知识点我们之前都讲过了如果之前讲过的子集问题和去重问题都掌握的好这道题目应该分分钟AC。
当然本题去重的逻辑,也可以这么写
```cpp
if (i > startIndex && nums[i] == nums[i - 1] ) {
continue;
}
```
## 其他语言版本