MSCI Interview Question

Detect Loop in the linked list Longest substring with non-repeating characters