摘要:
```C++ class Solution { public: int MoreThanHalfNum_Solution(vector numbers) { if(numbers.empty()){ return 0; } if(numbers.size() == 1){ return numb... 阅读全文
摘要:
```C++ class Solution { public: bool IsContinuous( vector numbers ) { if(numbers.empty()) return false; set s; for(int num: numbers){ if(num != 0){ if 阅读全文
摘要:
bfs dfs 阅读全文