ganbarearyan45's blog

By ganbarearyan45, history, 7 weeks 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++

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

»
7 weeks ago, # |
  Vote: I like it +8 Vote: I do not like it

How is a hashtable more memory efficient than a vector