ganbarearyan45's blog

By ganbarearyan45, history, 3 months ago, In English

Is it good to use unordered map for every dp problem as it could be more memory efficient in comparison to vector in c++

Full text and comments »

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

By ganbarearyan45, history, 7 months ago, In English

https://codeforces.net/blog/entry/129992 in this editorial , the editorial of c, what if the no bad exist, like n = 2, m=2; a == (3 3 5 5 1) b == (5 5 3 3 2) i will not consider the 1,2 as it is at the m+n+1 index so before that no bad exist, am i wrong ?

Full text and comments »

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

By ganbarearyan45, history, 7 months ago, In English
  • Vote: I like it
  • -2
  • Vote: I do not like it