Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions graph/employee_headcount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ TestEmployeeHeadCount tests solution(s) with the following signature and problem

Headcount of a person in an organization is 1 + the number of all their reports
(direct and indirect). Given a list of employee IDs and their direct reports in each line like
`1,4,5`, `5,7`, `4`, `7`. Where 1 has two direct reports (4 and 5); 5 has one report (7);
4 and 5 have no reports; Return the headcount of a given employee ID. For example head
`1,4,5`, `5,7`, `4`, `7`. Where 1 has two direct reports (4 and 5) and one indirect report (7); 5 has one report (7);
4 and 7 have no reports; Return the headcount of a given employee ID. For example head
count of 7 is 1, and headcount of 1 is 4.
*/
func TestEmployeeHeadCount(t *testing.T) {
Expand Down