Google interview question

Pertained to ring buffers and logging systems.