摘要:
Questions: "Two Sum" My Answer: / Function: Copynums Explanation: The function is used to judging whether a number is in nums or not. / int copynums(i 阅读全文
摘要:
参考: "dict and set" Note: A.dict Hint:注意最后三点。 1.Python内置字典dict,全称directory,在别的语言如C++中称为map,使用键值 value存储,查找速度极快。 2.给定一个键值key,dict在内部根据键值计算出存储的内存地址,从而迅速的 阅读全文