Implement tail N lines
Company: Confluent
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates a candidate's skills in file I/O and streaming algorithms, memory-efficient buffering, text encoding correctness (UTF-8), and robustness to system-level file semantics such as seekability, newline conventions, long-line handling, and log rotation.