Pergunta de entrevista da empresa Susquehanna International Group

The 30 minute coding question was phrased poorly, but not too difficult.