practice_account's blog

By practice_account, history, 4 years ago, In English

Question — 1221D - Make The Fence Great Again My submission — 85248917 I have written a O(N) dp solution still it does not pass the 17th testcase. I have seen the editorial which also has a O(N) solution. Can anyone please tell me where am I doing the extra work here.

Full text and comments »

  • Vote: I like it
  • -13
  • Vote: I do not like it