add longest substring no repeating characters in leetcode