- 博客(2)
- 收藏
- 关注
转载 Python range() 函数用法
函数 range(start, stop[, step]) 参数 start: 计数从 start 开始。默认是从 0 开始。例如range(5)等价于range(0, 5); stop: 计数到 stop 结束,但不包括 stop。例如:range(0, 5) 是[0, 1, 2, 3, 4]没有5 step:步长,默认为1。例如:range(0, 5) 等价于 range(...
2018-09-12 09:41:11
89
原创 leetcode 137. Single Number II
题目 Given a non-empty array of integers, every element appears three times except for one, which appears exactly once. Find that single one. Note: Your algorithm should have a linear runtime comp...
2018-08-29 10:03:52
108
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人