longest length of substring without repeated chars

longest length of substring without repeated chars, time limit
exceeded…