Help with this DP problem

Revision en1, by catismyfav, 2020-04-27 20:01:08

Hello all! I was trying this problem. I understand the part that we have to count the numbers according to their modulo with 3 but I am stuck how to form DP states. Can someone please explain that. Thanks!

Tags #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English catismyfav 2020-04-27 20:01:08 280 Initial revision (published)