In today's competition, I only realized in the last minute that problem D could be solved using regret greedy rather than DS with DP. How should I train to quickly recognize when a problem can be solved using regret greedy?
UPD: Thank you to all who have responded to this blog, I have read your comments carefully.



