Print the last N lines of a text file like Unix tail -N — then make it work on a huge, ever-growing log without loading the file into memory. A Confluent onsite coding round.
Print the last N lines of a text file like Unix tail -N — then make it work on a huge, ever-growing log without loading the file into memory. A Confluent onsite coding round.
Opens with the full question.