Hello, Can anyone please help me to understand why Greedy works for the above problem Painting Eggs I have read the editorial and not able to fully understand how greedy is the correct solution for the problem.
When to Use Greedy
Hello, Can anyone please help me to understand why Greedy works for the above problem Painting Eggs I have read the editorial and not able to fully understand how greedy is the correct solution for the problem.
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en2 | Mohsina_Shaikh | 2023-07-31 07:09:29 | 1 | (published) | ||
en1 | Mohsina_Shaikh | 2023-07-31 07:08:46 | 278 | Initial revision (saved to drafts) |