Microsoft Interview Question

Given a string, return the length of the longest substring without repeating characters