Блог пользователя 1111__dek

Автор 1111__dek, история, 10 часов назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится