-
https://github.com/haoel/leetcode/blob/ad62b9d82e8d72a3923881840b23532216c12982/src/countAndSay/countAndSay.cpp#L55
ghost updated
9 years ago
-
Have a look at: https://github.com/haoel/leetcode/blob/master/src/searchInsertPosition/searchInsertPosition.cpp#L28
``` cpp
int mid = low +(high-low)/2;
```
would occur overflow. try to change to th…
-
https://github.com/haoel/leetcode/blob/ad62b9d82e8d72a3923881840b23532216c12982/src/strStr/strStr.cpp#L60
It's confusing that `char* ph` does not move with the same offset as `char* haystack` does.
…
ghost updated
9 years ago
-
-
蒙拿,你这题的code大数据超时呀,O(N^2)的算法复杂度要超时的。
需要O(N)的算法才能过的。
https://github.com/xiongjunliang/leetcode/blob/master/stock3/stock3.cpp
-
每次编译,有很多警告信息:
`** WARNING ** Failed to convert input string to UTF16...`
-
http://leetcode.com/onlinejudge#question_132
xqian updated
11 years ago