Comcast Interview Question

Longest substring