problem
题意:所有下属和自己的重要度之和,所有下属包括下属的下属即直接下属和间接下属。
solution:DFS;
solution:BFS;
参考
1. Leetcode_easy_690. Employee Importance;
2. Grandyang;
完
mb62c788fd198da ©著作权
problem
题意:所有下属和自己的重要度之和,所有下属包括下属的下属即直接下属和间接下属。
solution:DFS;
solution:BFS;
参考
1. Leetcode_easy_690. Employee Importance;
2. Grandyang;
完
【LeetCode】39. 组合总和
【LeetCode】705. 设计哈希集合
【LeetCode】706. 设计哈希映射
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M