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

Автор Enumeration, история, 2 месяца назад, По-английски

Inspired from this blog Just asking to everyone for fun. :)

previous blog was posted 11 years ago. so just wanted to again put this as a reference.

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

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

Автор Enumeration, история, 2 месяца назад, По-английски

Happy Friendship day to CP community..!

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

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

Автор Enumeration, история, 4 месяца назад, По-английски

Hello, I just came to this problem statement and seems interesting as well as hard. anyone can give any ideas about how to solve it..? there was no constraints. what is min TC we can achieve ?

Given an array A.

You may repeatedly choose any subarray whose sum is exactly K and delete it.

The remaining parts join together.

Find the maximum number of deletions possible.

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

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