Tag: a-string
All the articles with the tag "a-string".
-
LeetCode 1624 Largest Substring Between Two Equal Characters
Solutions for LeetCode 1624, easy, tags: hash table, string.
-
LeetCode 1003 Check If Word Is Valid After Substitutions
Solutions for LeetCode 1003, medium, tags: string, stack.
-
LeetCode 1768 Merge Strings Alternately
Solution for LeetCode 1768, easy, tags: string, two pointers.
-
LeetCode 1963 Minimum Number of Swaps to Make the String Balanced
An O(n)-time, O(1)-space solution to LeetCode 1963 using unmatched brackets.
-
LeetCode 2000 Reverse Prefix of Word
Solution for LeetCode 2000, easy, tags: string, two pointers.
-
LeetCode 1047 Remove All Adjacent Duplicates In String
Solution for LeetCode 1047, easy, tags: string, stack, simulation.