YahiaAglan74's blog

By YahiaAglan74, history, 5 years ago, In English

I try to solve this UVA 12124 — Assemble using DP but I fail. maybe because of the memorization cannot take the required memory

wrong answer dp

but finally solved it with a greedy approach AC greedy

I wonder If there is a dp solution for this problem

Thanks

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