leetcode schedule: 3 be done ,3 better than 99% 1. "sum" my code 思路:先对所给序列进行排序,然后依次对小于target/2的数a,在有序序列中用二分查找找(target a) 复杂度 排序调用标准库的sort,O(nlogn) 二分查 ...
分类:
其他好文 时间:
2019-01-02 19:18:33
阅读次数:
217
补充一下知识,redis 的发布订阅功能 redis自带的推送与订阅功能,类似次世代的古董收音机,我们需要得到什么样的信息,就得需要调整好频道,下面具体说明如何使用, redis发布订阅 三个角色,提供的redis命令 1.发布者 publish 频道 消息 给频道发消息 2.订阅者 SUBSCRI ...
分类:
系统相关 时间:
2019-01-02 16:22:19
阅读次数:
295
一条要重新振作的宣告! 最后一个月不论是会考还是省选各种都考试都要顺顺利利啊! 分界线 Fight For A Better Tomorrow!!! ...
分类:
其他好文 时间:
2019-01-02 00:00:41
阅读次数:
191
Q:Python运行代码时,遇到函数是怎么做到的? A:从Python解释器开始执行之后,就在内存中开辟一个空间,每当遇到一个变量的时候,就把变量名和值之间的对应关系记录下来,但是当遇到函数定义的时候,解释器只是象征性的将函数名读入内存,表示知道这个函数存在了,至于函数内部的变量跟逻辑,解释器根本不 ...
分类:
编程语言 时间:
2019-01-02 00:00:32
阅读次数:
219
https://www.networkfuntimes.com/ospfv3-the-new-lsa-types-in-ipv6-ospf/ WHY DID THEY CHANGE THE LSAs FOR OSPFv3? You’ll remember that OSPF has seven li ...
分类:
数据库 时间:
2018-12-12 00:31:46
阅读次数:
198
WEEK 8 Unsupervised Learning We use unsupervised learning to build models that help us understand our data better. We discuss the k Means algorithm fo ...
分类:
其他好文 时间:
2018-12-03 15:34:39
阅读次数:
157
Requests 是用Python语言编写,基于 urllib,采用 Apache2 Licensed 开源协议的 HTTP 库。它比 urllib 更加方便,可以节约我们大量的工作,完全满足 HTTP 测试需求。Requests 的哲学是以 PEP 20 的习语为中心开发的,所以它比 urllib ...
分类:
编程语言 时间:
2018-12-03 12:49:44
阅读次数:
233
Why one grouping of attributes into a relation schema may be better than another two levels we can discuss the goodness of relation schemas. logical(c ...
分类:
数据库 时间:
2018-12-02 01:23:14
阅读次数:
237
Problem Description Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will ...
分类:
其他好文 时间:
2018-12-01 13:23:02
阅读次数:
129