Leetcode Problems And Solutions Python Snake Size