unordered_set query time is 5 times slower than vector query

前端 未结 0 1259
深忆病人
深忆病人 2021-01-15 16:28

I want to deal with graphs in C++. Using adjacency matrix is find but take too much memory for some of my instances. Therefore, I tried to use adjacency list, where each ver

相关标签:
回答
  • 消灭零回复
提交回复
热议问题