Pregunta de entrevista de IMC Trading

They asked SQL query, regex and a python question.