Pregunta de entrevista de Susquehanna International Group

some algorithm tasks testing your ability to code.