Greedy Algorithms - Candy Distribution
Given the final candies array [2, 1, 2] after running the optimal candy distribution algorithm, which of the following could be the original ratings array?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions