Greedy Algorithms - Partition Labels
Suppose the problem is modified so that characters can be reused in multiple partitions (i.e., the constraint that each letter appears in at most one part is removed). Which of the following approaches correctly adapts the algorithm to find the minimum number of partitions such that each partition contains unique characters (no repeats within the partition)?
