minimum deletion to make wave array ??

Правка en2, от ayandutt2002, 2022-06-15 13:21:28

given an array what is the minimum no of integers to be removed to make the array wave-like; n<=1000; can anyone help me with the approach of the question?? my solution: below

will this work or not please help me!!

Теги dp, acm-icpc, algorithms

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ayandutt2002 2022-06-15 13:21:28 726
en1 Английский ayandutt2002 2022-06-15 13:19:27 977 Initial revision (published)