Please read the new rule regarding the restriction on the use of AI tools. ×

catismyfav's blog

By catismyfav, history, 4 years ago, In English

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
  • Vote: I like it
  • +4
  • Vote: I do not like it

| Write comment?