1111__dek's blog

By 1111__dek, history, 7 hours ago, In English

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.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it