def removeDuplicates(self, nums: List[int]) -> int: /*一直不理解int有->int是什么东西,查了一下,这是Python3加入的新的特性,代表函数的返回值*/
zzm1 2019-04-11 15:27 原文
def removeDuplicates(self, nums: List[int]) -> int: /*一直不理解int有->int是什么东西,查了一下,这是Python3加入的新的特性,代表函数的返回值*/