Frage im Vorstellungsgespräch bei Fractal

Basic Python Leetcode question.(Don't remember in detail).