请问if not nums: return False这两行是不是可以删掉呢,应该不会有nums为空的情况出现吧
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务