Confluent logo

Confluent Interview Question Bank

Confluent runs a compact loop built on a small, recurring pool of practical, systems-flavored coding problems and product-style system design, where API and data-model clarity count for more than diagrams. Since joining IBM, hiring runs through IBM's channels and can include an extra values-alignment step.

Coding problems
28
Before you start
Showing 27 of 27
Coding
HighFree preview

Tail -n: Print the Last N Lines of a File

Implement `tail -n`: output the last N lines of a file. Follow-ups move to a low-level file API (read N bytes, move the file pointer ±N, get file size), require pseudocode that streams the result to stdout instead of buffering it, and probe buffer-vs-offset trade-offs.

SWE
io
filesystem
streaming
medium
8 related discussions