leetcode 3 无重复字符的最长子窜 c++ c语言 两种解法 暴力搜索跟哈希表

c语言:c++ int lengthOfLongestSubstring(char* s) { int index = 0; int max = 1; int i=0; while(s[i]!=NULL) { i++; } int len = i; if( len == 0)
相关文章
相关标签/搜索