MCPcopy Create free account
hub / github.com/ROUTINE-STUDY/Algorithm / Employee

Class Employee

LeetCode/BFS/690. Employee Importance/Sanghoo.java:8–19  ·  view source on GitHub ↗

https://leetcode.com/problems/employee-importance/

Source from the content-addressed store, hash-verified

6 * https://leetcode.com/problems/employee-importance/
7 */
8class Employee {
9 public int id;
10 public int importance;
11 public List<Integer> subordinates;
12
13 public Employee(int id, int importance, List<Integer> subordinates) {
14 this.id = id;
15 this.importance = importance;
16 this.subordinates = subordinates;
17 }
18
19}
20
21public class Sanghoo {
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected