会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tech Blog Pro
大数据/机器学习/数据挖掘/web开发 计算机世界里的一名小学生
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
33
下一页
2019年3月18日
Leetcode 523. Continuous Subarray Sum
摘要: prefix sum
阅读全文
posted @ 2019-03-18 01:49 周洋
阅读(113)
评论(0)
推荐(0)
2019年3月17日
查看Python版本
摘要: import sys print(sys.version) 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] print(sys.version_info) sys.version_info(major=3, minor=6, micro=7, releaselevel='final', serial=0)
阅读全文
posted @ 2019-03-17 23:37 周洋
阅读(18024)
评论(0)
推荐(0)
python any函数
摘要: pyhton的any() 函数: 判断给定的可迭代参数 iterable : 全部为 False,返回 False; 至少有一个为 True,则返回 True. 元素除了是 0、空、FALSE 外都算 TRUE。 any() 方法的语法: 示例:(参考:http://www.runoob.com/p
阅读全文
posted @ 2019-03-17 05:07 周洋
阅读(412)
评论(0)
推荐(0)
python3 xrange报错
摘要: 因为python3取消了xrange这个函数,range就是xrange.
阅读全文
posted @ 2019-03-17 04:58 周洋
阅读(4378)
评论(0)
推荐(1)
python 计数器类Counter的用法
摘要: 简单操作: 排序:
阅读全文
posted @ 2019-03-17 04:23 周洋
阅读(13744)
评论(0)
推荐(1)
Leetcode 724. Find Pivot Index
摘要: prefix sum
阅读全文
posted @ 2019-03-17 00:43 周洋
阅读(188)
评论(0)
推荐(0)
Leetcode 560. Subarray Sum Equals K
摘要: 前缀和(prefix sum/cumulative sum)
阅读全文
posted @ 2019-03-17 00:29 周洋
阅读(127)
评论(0)
推荐(0)
2019年3月16日
Leetcode 974. Subarray Sums Divisible by K
摘要: 前缀和(prefix sum/cumulative sum)的应用. 还用了一个知识点: a≡b(mod d) 则 a-b被d整除. 即:a与b对d同余,则a-b被d整除.
阅读全文
posted @ 2019-03-16 20:16 周洋
阅读(254)
评论(0)
推荐(0)
Leetcode 976. Largest Perimeter Triangle
摘要: 送分题
阅读全文
posted @ 2019-03-16 19:44 周洋
阅读(142)
评论(0)
推荐(0)
Leetcode 973. K Closest Points to Origin
摘要: 送分题
阅读全文
posted @ 2019-03-16 19:35 周洋
阅读(205)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
33
下一页
公告