摘要:
```C++ class Solution { public: int MoreThanHalfNum_Solution(vector numbers) { if(numbers.empty()){ return 0; } if(numbers.size() == 1){ return numb... 阅读全文
posted @ 2018-08-30 15:05
一条图图犬
阅读(121)
评论(0)
推荐(0)
摘要:
```C++ class Solution { public: bool IsContinuous( vector numbers ) { if(numbers.empty()) return false; set s; for(int num: numbers){ if(num != 0){ if 阅读全文
posted @ 2018-08-30 14:29
一条图图犬
阅读(106)
评论(0)
推荐(0)
摘要:
bfs dfs 阅读全文
posted @ 2018-08-30 11:30
一条图图犬
阅读(89)
评论(0)
推荐(0)