Palo Alto Networks Interview Question

1. longest substring without repeating characters 2. Find middle element of the linked list