https://leetcode.com/problems/longest-substring-without-repeating-characters/
Input: s = "abcabcbb"
Output: 3
Explanation: The answer is "abc", with the length of 3.
https://leetcode.com/problems/generate-parentheses/
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Example 1:
Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"]
Example 2:
Input: n = 1 Output: ["()"]
If the generate all the possible permutations,time complexity will be O(2^n).
What if we generate only those permutations which we know for sure will be valid? It should reduce the time considerably. We can use backtracking for this purpose.
https://leetcode.com/problems/longest-palindromic-substring/
https://leetcode.com/problems/median-of-two-sorted-arrays/
https://leetcode.com/problems/container-with-most-water/
https://leetcode.com/problems/two-sum/
https://leetcode.com/problems/3sum/
https://leetcode.com/problems/letter-combinations-of-a-phone-number/
https://leetcode.com/problems/valid-parentheses/
https://leetcode.com/problems/remove-nth-node-from-end-of-list/
)