Squarepoint Capital interview question

3 lc medium + some python questions