Domanda di colloquio di IMC Trading

They asked SQL query, regex and a python question.