Round 1
Questions: You are given k v pairs:
- funA: ['int', 'bool']
- funB: ['int', 'int']
And queries like ['int', 'int']. Return all functions that match the description.
Follow-up: You are also given a flag is variadic:
- funA: ['int', 'bool'], isVariadic: true
- funC: ['int', 'int'], isVariadic: false
- funB: ['int', 'int', 'int'], isVariadic: true
And queries like ['int', 'int']. Return all functions that match the description.
- e.g. ['int', 'int'] = funC
- ['int', 'int', 'int', 'int'] = funB
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2
Questions: You are given a time-based key-value store with a window of 5 seconds.
time 1 put("foo", 1) 3 put("bar", 2) 4 get("foo") -> 1 5 getAverage() -> 1.5 7 get("foo") -> -1 (since key expired) 8 getAverage() -> 2 (since foo expired)
Expectation was to optimize get() and getAverage().
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 3
Questions: Write code for a Sudoku validator:
- Needs to be memory efficient, so use a map to store counts.
- Print row/col/box as well where Sudoku is not valid.
- Have a check to see if the number is between 1-9.
Follow-up: Write code for a Sudoku solver:
- Normal as Leetcode, use backtracking.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 4
Questions: Questions around scaling:
- How to detect bottlenecks in the system and how to remedy them?
- Talked about load balancers, access logs of LB, multi-region LB, and regional routing.
- Discussed slow query detection and remedies, DB load analysis, and master-slave architecture with replica lag between master and slave.
- Talked about IAC like Terraform to maintain infrastructure and deploy multi-region.
- Discussed splitting monolith to microservices and how to go about it.
- Each question focuses on high-level design first, then followed by how to actually do it in the cloud.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 5
Questions: HM Round with behavioral questions:
- Why Confluent?
- Ever had a disagreement with a teammate, how did you handle it?
- Most challenging work you ever did?
- Why leave your current company?
- Discuss a time you introduced a bug in the system, how did you identify/fix it?
- Discuss 1 strength as an engineer (technical strength).
- Have you ever dealt with customers, how did you go about it?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.