Bottomline Interview Question

they asked me to write pseudocode to find the longest substring without repeating characters.