Anyone have any idea ?

Правка en1, от Enumeration, 2026-06-12 20:52:52

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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Enumeration 2026-06-12 20:52:52 404 Initial revision (published)