Squarepoint Capital interview question

Python trivia, leedcode Stats, derivations