05 2021 档案

摘要:1.出度为0则为满足条件的节点,取所有出度为0的到queue中,之后循环减去这些队列中的出度,正反索引减少访问时间 class Solution { public: vector<int> eventualSafeNodes(vector<vector<int>>& graph) { vector< 阅读全文
posted @ 2021-05-14 14:57 巴啦啦大魔王 阅读(49) 评论(0) 推荐(0)
摘要:C++三种容器:list、vector和deque的区别 https://blog.csdn.net/gogokongyin/article/details/51178378 https://blog.csdn.net/xiajun07061225/article/details/7442816 h 阅读全文
posted @ 2021-05-12 20:17 巴啦啦大魔王 阅读(31) 评论(0) 推荐(0)