Tag: a-greedy
All the articles with the tag "a-greedy".
-
LeetCode 316 Remove Duplicate Letters
Solutions for LeetCode 316, medium, tags: string, stack, monotonic stack, greedy.
-
LeetCode 678 Valid Parenthesis String
Solutions for LeetCode 678, medium, tags: string, greedy, stack, dynamic programming.
-
LeetCode 767 Reorganize String
Solutions for LeetCode 767, medium, tags: hash table, string, greedy, sorting, heap, counting.
-
LeetCode 2131 Longest Palindrome by Concatenating Two Letter Words
Solutions for LeetCode 2131, medium, tags: array, hash table, string, greedy, counting.
-
LeetCode 2542 Maximum Subsequence Score
Solutions for LeetCode 2542, medium, tags: array, greedy, sorting, heap (priority queue).
-
LeetCode 55 Jump Game
Solutions for LeetCode 55, medium, tags: array, dynamic programming, greedy.