摘要:
Python字典是一种可变容器模型,可存储任意类型对象:如字符串、数字、元组等。它以键值对(key-value)的形式存在,因此相当于Hashmap在python中的实现。 §1. 创建字典 字典由键和对应值成对组成。示例如下: 说明: >> 每个key与value用冒号隔开,每对key-value 阅读全文
posted @ 2018-10-09 22:58
不吃腊肉的猫
阅读(690)
评论(0)
推荐(0)
摘要:
Part 1. 题目描述 (easy) Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each 阅读全文
posted @ 2018-10-09 22:38
不吃腊肉的猫
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号