Converting dp solution to a recursive one

Правка en1, от ayush118, 2024-06-28 20:17:15

I am in my early stages of learning dp
Just wanted to know is it always possible to convert a dp solution into a recursive one
If so can anyone write the recursive code for this dp solution

Spoiler


The question is similar to this, the only difference is that we have to find the minimum elements to remove from the sequence b so that it can be sent over the network

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ayush118 2024-06-28 20:22:48 18
en1 Английский ayush118 2024-06-28 20:17:15 1838 Initial revision (published)