String
Heap
- https://leetcode.com/problems/reorganize-string/ - can solve with HashMap
- https://leetcode.com/problems/rearrange-string-k-distance-apart/
- https://leetcode.com/problems/sort-characters-by-frequency/ - also by map
Sliding wd
Most of the following Questions can also be solved using Map
- https://leetcode.com/problems/longest-substring-without-repeating-characters/
- https://leetcode.com/problems/permutation-in-string/
- https://leetcode.com/problems/find-all-anagrams-in-a-string/
- https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/
- https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters/
- https://leetcode.com/problems/find-k-length-substrings-with-no-repeated-characters/
- https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length/
https://leetcode.com/problems/reverse-words-in-a-string-ii/
stack
Type - paranthasis questions
, MonoTonic Stk
- https://leetcode.com/problems/valid-parentheses/
- https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/
- https://leetcode.com/problems/simplify-path/
- https://leetcode.com/problems/decode-string/
- https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/
- https://leetcode.com/problems/score-of-parentheses/
- https://leetcode.com/problems/remove-k-digits/
- https://leetcode.com/problems/backspace-string-compare/
- https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/
https://leetcode.com/problems/number-of-substrings-containing-all-three-characters/
https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/
https://leetcode.com/problems/remove-duplicate-letters/
Two Pointers
- https://leetcode.com/problems/valid-palindrome-ii/
- https://leetcode.com/problems/reverse-string/
- https://leetcode.com/problems/reverse-words-in-a-string-iii/
https://leetcode.com/problems/shortest-word-distance-ii/
https://leetcode.com/problems/reverse-words-in-a-string/
https://leetcode.com/problems/compare-version-numbers/
https://leetcode.com/problems/one-edit-distance/
https://leetcode.com/problems/shortest-distance-to-a-character/
https://leetcode.com/problems/find-first-palindromic-string-in-the-array/
https://leetcode.com/problems/merge-strings-alternately/
https://leetcode.com/problems/di-string-match/
Hash Map
- https://leetcode.com/problems/design-underground-system/
- https://leetcode.com/problems/group-anagrams/
- https://leetcode.com/problems/valid-anagram/
- https://leetcode.com/problems/find-and-replace-pattern/
- https://leetcode.com/problems/first-unique-character-in-a-string/
- https://leetcode.com/problems/custom-sort-string/
- https://leetcode.com/problems/group-shifted-strings/
- https://leetcode.com/problems/reorganize-string/
- https://leetcode.com/problems/verifying-an-alien-dictionary/
- https://leetcode.com/problems/ransom-note/
- https://leetcode.com/problems/isomorphic-strings/
- https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram/
- https://leetcode.com/problems/sort-characters-by-frequency/
- https://leetcode.com/problems/word-pattern/
- https://leetcode.com/problems/substrings-that-begin-and-end-with-the-same-letter/
- https://leetcode.com/problems/jewels-and-stones/
- https://leetcode.com/problems/longest-palindrome/
- https://leetcode.com/problems/check-if-the-sentence-is-pangram/
- https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal/
- https://leetcode.com/problems/evaluate-the-bracket-pairs-of-a-string/
- https://leetcode.com/problems/count-the-number-of-consistent-strings/
- https://leetcode.com/problems/replace-words/
- https://leetcode.com/problems/determine-if-two-strings-are-close/
- https://leetcode.com/problems/rings-and-rods/
- https://leetcode.com/problems/map-sum-pairs/
https://leetcode.com/problems/integer-to-roman/
given 1 Vector of string
Given 1 string + 1 vector< string >
Given 2 strings
paranthasis questions
Others :
- https://leetcode.com/problems/longest-common-prefix/
- https://leetcode.com/problems/robot-bounded-in-circle/
- https://leetcode.com/problems/largest-number/
- https://leetcode.com/problems/count-and-say/
- https://leetcode.com/problems/add-strings/
- https://leetcode.com/problems/smallest-string-with-a-given-numeric-value/
- https://leetcode.com/problems/shortest-word-distance/
- https://leetcode.com/problems/excel-sheet-column-number/
- https://leetcode.com/problems/multiply-strings/
- https://leetcode.com/problems/string-to-integer-atoi/
- https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/
- https://leetcode.com/problems/strobogrammatic-number-ii/
- https://leetcode.com/problems/shortest-palindrome/
- https://leetcode.com/problems/minimum-number-of-operations-to-move-all-balls-to-each-box/
- https://leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target/
- https://leetcode.com/problems/length-of-last-word/
- https://leetcode.com/problems/robot-return-to-origin/
- https://leetcode.com/problems/check-if-all-as-appears-before-all-bs/
- https://leetcode.com/problems/shortest-word-distance-iii/
- https://leetcode.com/problems/sorting-the-sentence/

