ByteDance Interview Question

Leetcode: 1.remove duplicate elements from a linked list 2. Find the longest non-duplicate substring 3. Permutation II