When to Use Greedy

Правка en2, от Mohsina_Shaikh, 2023-07-31 07:09:29

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.

Теги dp problem, greedy

История

 
 
 
 
Правки
 
 
  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)