Pregunta de entrevista de Optiver

Coding problem and system design problem.