Squarepoint Capital interview question

Some easy leet code question