摘要: 第一题:两数之和 思路:hash 查漏: 1. 该方法中“nums: List[int]”为注释表达,表明参数类型;“ -> List[int]” 也为注释表达,表明输出类型 def twoSum(self, nums: List[int], target: int) -> List[int]: 2 阅读全文
posted @ 2020-06-14 23:29 steven_gong 阅读(15) 评论(0) 推荐(0)