Confluent | SSE | Bengaluru (Remote)
Anonymous User
4213
  • Coding round 1

you're 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're 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

  • Coding Round 2

You're given a time based kv store,

window = 5 sec

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()

  • Coding Round 3

write code for a sudoku validator
- needs to mem efficient so use map to store counts
- print row/col/box as well where sudoku is not valid
- have a check to see if number is between 1-9

follow-up: write code for a sudoku solver
- normal as leetcode use backtracking

  • Round 4 (Operations at scale)

questions around scaling

  • how to detect bottlenecks in system and how to remedy them

    • talked about load balancers, access logs of LB, multi region LB and regional routing
    • talked about slow query detection and remedies, db load analysis and master slave archi with replica lag b/w master slave
    • talked about IAC like terraform to maintain infra and deploy multi-region
    • talked about splitting monolith to microservices and how to go about it
    • each question focuses on hld first then followed by how to actually do it in cloud
  • Round 5


HM Round

behavioural 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 your ever dealt with customers, how did you go about it?
Comments (10)