News

LeetCode各题解法分析~ Coding For Fun. Contribute to kanglicheng/LeetCode-2 development by creating an account on GitHub.
You know the brute force, let's look at the optimized sol. We will have two pointers left and right. Pointer ‘left’ is used for maintaining the starting point of the substring while ‘right’ will ...