Leetcode First Missing Integer Gfg Python Question