Confluent VO, tail -n and a disposable email SD
Confluent VO, tail -n and a disposable email SD
Confluent virtual onsite, 3 rounds, no result yet. 5 YOE backend.
Coding 1: tail -n. Print the last N lines of a file, given a tiny file API (read N bytes, move the pointer, get file size). Had to stream to stdout, not load everything. Talked buffer vs seeking from the end, wrote pseudocode. Interviewer pushed on what happens when a line is longer than the buffer.
Coding 2: sensor health. (sensorId, timestamp) pings, implement wasAlive(id, start). 100ms slots, three silent slots in a row counts as down. Brute force first, then binary search over the timestamps. Finished with a few mins left.
SD: temporary email service, 100M active users. Spent most of it on generating usernames that look human and checking whether one's already taken. Put a bloom filter in front of the DB. Didn't get to persistence properly, which kinda bugs me. Interviewer was quiet most of it.
Coding felt fine, SD I'm 50/50 tbh. Anyone heard back after a quiet SD round?