Leetcode Debug Input Meaning Python