yshen94's blog

By yshen94, history, 18 months ago, In English

For submission #287793085, I used dp and matrix to solve the problem. it seems that the memory limit is exceed. I know that a lot of people solve the problem using a map, but I am still curious whether using dp and matrix could be a successful solution with modifications in some way.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?