Pregunta de entrevista de Confluent

the techinical screen round, coding want you to implement linux command like function, tail the n lines. need to think if the file is very large, and you are not able to scan from the beginning