Need help in a question

Правка en1, от 1111__dek, 2025-02-27 05:55:19

Hi everyone,

So this is the problem link: https://leetcode.com/problems/zero-array-transformation-i/description/

In this problem, what if in each query we don't allow empty subset to be picked? I am not sure if there's something greedy about this that I am missing. The original problem allows you to use empty subset as well, what if we add an extraa constraint?

Any ideas?

Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский 1111__dek 2025-02-27 05:55:19 429 Initial revision (published)