未验证 提交 50314d81 编写于 作者: X xshahq 提交者: GitHub

Merge pull request #88 from apachecn/master

Merge pull request #250 from xshahq/master
......@@ -48,6 +48,7 @@
- [Algorithm Archive](https://github.com/algorithm-archivists/algorithm-archive)
- [Grokking the System Design Interview](https://www.educative.io/collection/5668639101419520/5649050225344512)
- [算法珠玑](https://soulmachine.gitbooks.io/algorithm-essentials/java/)
- [AlgoCasts 用心做好每一个算法视频](https://algocasts.io)
## Sponsor
1. [Lisanaaa](https://github.com/Lisanaaa): **Feel free to see my profile and send me an email if you have any job opportunities.**
......
......@@ -43,7 +43,7 @@ public class Solution1 {
private boolean scanInteger(char[] str) {
// 去除符号
while (index < str.length && (str[index] == '+' || str[index] == '-')) {
if (index < str.length && (str[index] == '+' || str[index] == '-')) {
index++;
}
......@@ -58,4 +58,4 @@ public class Solution1 {
// 判断是否存在整数
return index > start;
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册