Python basic knowledge 列表创建 1. 创建一个 一维 空列表, 长度为0 2. 创建一个 二维 空列表, 行和列长度为 n 列表的几种遍历方式: 1. 从0到nums列表最后一位顺序遍历法, i表示下标 ( nums[0], nums[1]...nums[n-1] ) 2. 遍历由 [left, right] 左右闭区间组成的nums
Notebook archive
Loose pages, technical margins, and small notes gathered into a readable stack.