LeetCode 3. Longest Substring Without Repeating Characters
The difference between Substring and Subsequence:
Substring should be consecutive
Subsequence doesn’t have to be consecutive
For example,
In ABCD and ACD
‘ACD’ is the subsequence of both strings, and only ‘A’ is the substring.
Brainstorming Think...
gomdoricake.hashnode.dev3 min read