We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文件地址:algorithm-pattern/introduction/quickstart.md
问题strStr,问题代码:
func strStr(haystack string, needle string) int { if len(needle) == 0 { return 0 } .... }
如果子串长度为0的话返回0有歧义,误认为子串起始地址为0,我觉得改为负数之类的更好。
The text was updated successfully, but these errors were encountered:
GitBook: [greyireland#41] No subject
bdf5b08
No branches or pull requests
文件地址:algorithm-pattern/introduction/quickstart.md
问题strStr,问题代码:
如果子串长度为0的话返回0有歧义,误认为子串起始地址为0,我觉得改为负数之类的更好。
The text was updated successfully, but these errors were encountered: