The interviewer was leaving out important details needed to solve the coding problem. First, his input was incorrect; one of the entries was [6,6], which didn't make sense, and he told me to ignore it.
When I gave him my first solution, he stated it was only one level deep. He wanted to see the employees of managers recursively. I lost 15-20 minutes because he did not mention this requirement.
Overall, he tripped me up, leaving me with insufficient time to think of a better solution.
The IT department here is 100% Indian. They don't know how to communicate well.
Given:
List<List<Integer>> input = Arrays.asList( List.of(1,3), List.of(2,3), List.of(3,6), List.of(4,5), List.of(5,6), List.of(0,1), List.of(1,8) );
Given a list of lists, where entry[0] is the employee and entry[1] is the manager.
Find the number of employees for each manager.
The following metrics were computed from 3 interview experiences for the Walmart Senior Software Engineer role in Bentonville, Arkansas.
Walmart's interview process for their Senior Software Engineer roles in Bentonville, Arkansas is incredibly easy as the vast majority of engineers get an offer after going through it.
Candidates reported having very good feelings for Walmart's Senior Software Engineer interview process in Bentonville, Arkansas.