Longest Non Repeating Substring Leetcode Two Robots