Rust Interview with a Google engineer.

Rust Interview with a Google engineer

Watch someone solve the design a leaderboard problem in an interview with a Google engineer and see the feedback their interviewer left them. Explore this problem and others in our library of interview replays.

Interview Summary

Problem type

Design a leaderboard

Interview question

  1. Design a Leaderboard class, which has 3 functions:
  1. You are playing a game with integers. You start with the integer 1 and you want to reach the integer target. In one move, you can either:

Interview Feedback

Feedback about Professor Squirrel (the interviewee)

Notes:

Overall: I feel you did solid in this interview and I would have given a hire call.

Interview Transcript

Red Maelstrom: Cool. Awesome. So I think you requested for an interviewer from Google. So is it like just because or like you specifically have upcoming interview with Google? So that would be my first question. Professor Squirrel: Yeah, that's a great question. I do not have upcoming interviews with Google, but I get the sense that the Google interviews on interviewing IO are the best ones. So this is the one that I'm booking for practice. ... Professor Squirrel: I see. Okay. So in particular, it would be linear in the number of calls to ad score. Okay. Right. Okay. I guess the. So anyways, I'm probably missing the point of the question here, because adScore and reset are trivial if we have a hash map. And that's all well and good, but there's this top operation that I haven't actually started thinking about yet. I guess it would be nice to have some sort of priority queue, probably. So let me think quietly about that, because I'm struggling to think and talk simultaneously. Interesting. Wow. Yeah, there are a lot of tradeoffs here, I feel. Or at least I can't think of an obviously optimal thing right away.

[Feedback about the interview and potential job search advice continues...]

Problem 2: Integer Target

...

Conclusion

All the best for your job search.