longest substring without repeat characters(leetcode3,lintcode384)
Givenastring,findthelengthofthe**longestsubstring**withoutrepeatingcharacters.Examples:Given"abcabcbb",theansweris"abc",whichthelengthis3.Given"bbbbb",theansweris"b",withthelengthof1.Given"pwwkew",the