1 int lengthOfLongestSubstring(char* s) { 2 int map[256]={0}; 3 int left=0; 4 int L=0; 5 int i=1; 6 while(s[i-1] != '