Tag: greedy
All the problems with the tag "greedy".
-
Leetcode 435 - Non-overlapping Intervals
Given an array of intervals, find the minimum number of intervals to remove to make the rest non-overlapping.
-
LeetCode 2405 - Optimal Partition of String
Given a string, partition it into substrings such that each substring contains unique characters. Find the minimum number of such substrings.
-
Leetcode 11 - Container With Most Water
Given an array of integers representing the height of vertical lines, find the maximum amount of water a container formed by these lines can store.