Java Interview with a Google Engineer: Employee Hierarchy

Get $100 off your first professional mock interview with this link!: https://iio.sh/r/CQ76

Check out feedback from the Google interviewer and the full transcript on https://interviewing.io/recordings/System-design-google-28

Or view other java interviews: https://interviewing.io/java-interview-questions

Disclaimer: All interviews are shared with explicit permission from the interviewer and the interviewee, and all interviews are anonymous. interviewing.io has the sole right to distribute this content.

TIMESTAMPS
00:00 Intro
03:30 Question Starts: Introduction
06:50 When would the map be invalid
11:30 Write a function for Employee Score Assuming Valid Map
19:00 Improve Efficiency of Function
21:40 Function in O(1) Time
32:24 Write a function to validate for one of the 3 invalid cases
47:02 Review and Feedback
59:26 Questions for Interviewer

Home