nightwing123's blog

By nightwing123, history, 7 years ago, In English

Can anyone help me with this problem? http://www.spoj.com/problems/COLORSEG/

It seems it requires some state space reduction/some clever optimisation or an entirely different approach.Have been trying this for quite a long time and no solution/hints are available anywhere.Would be grateful if anyone can help

Full text and comments »

Tags dp, spoj
  • Vote: I like it
  • +3
  • Vote: I do not like it