give string s find length long substre repeat character example 1input s abcabcbboutput 3explanation the answer abc length 3Example 2input s bbbbboutput 1explanation the answer b length 1example 3input s pwwkewoutput 3explanation the answer wke length 3notice answer substre pwke subsequence substre constraints0 slength 5 104s consist english letter digit symbol space