Datadog interview question

Itw technique: programmer un Buffered Writer et l'optimiser.