Question d’entretien chez Squarepoint Capital

coding problem in python like leetcode