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)
相關文章
相關標籤/搜索