What makes objects different is that we can create more of them. Every time we use the {} object literal, we create a brand new object value: let shre ...
分类:
编程语言 时间:
2020-02-25 19:49:14
阅读次数:
82
1.给元素的某个事件行为绑定方法,事件触发,方法执行,此时方法中的this一般都是当前元素本身: <div id="div"></div> div.onclick = function() { console.log(this); //=><div id="div"></div> }; div.ad ...
分类:
Web程序 时间:
2020-02-25 18:25:14
阅读次数:
82
//新编数据库原理习题与解析 李春葆 例:求F={ABD→AC,C→BE,AD→BF,B→E}的最小函数依赖集Fm 注意:当在函数依赖已经改变的地方开始一个新步骤时,重写函数依赖集很重要,这样可以在下一步中方便引用。 第一步 对F中的函数依赖运用分解原则来创建一个等价函数依赖集H,该集合中每一个函数 ...
分类:
其他好文 时间:
2020-02-25 12:34:47
阅读次数:
354
Description Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, two is written as II in Roman numeral, jus ...
分类:
其他好文 时间:
2020-02-20 09:28:12
阅读次数:
79
public class Solution { /** * @param s: a string, encoded message * @return: an integer, the number of ways decoding */ public static int numDecodings ...
分类:
其他好文 时间:
2020-02-19 20:54:13
阅读次数:
67
http.request.method==GET vuin= 抓取QQ信息 数据链路层: 筛选mac地址为04:f9:38:ad:13:26的数据包 eth.src == 04:f9:38:ad:13:26 筛选源mac地址为04:f9:38:ad:13:26的数据包 eth.src == 04:f ...
分类:
其他好文 时间:
2020-02-19 19:27:15
阅读次数:
163
协程 ====== 协程,又称微线程,纤程。英文名Coroutine。一句话说明什么是线程:协程是一种用户态的轻量级线程。协程拥有自己的寄存器上下文和栈。协程调度切换时,将寄存器上下文和栈保存到其他地方,在切回来的时候,恢复先前保存的寄存器上下文和栈。 __因此__:协程能保留上一次调用时的状态(即 ...
分类:
其他好文 时间:
2020-02-19 17:28:59
阅读次数:
95
一、自组织网络 1.移动自组织(Ad-Hoc)网络是一种多跳的临时性自治系统,这种网络没有固定的路由器,网络中的节点可随意移动并能以任意方式相互通信。 2.网络中的各个节点不需要直接连接,而是能够通过中继的方式,在两个距离很远而无法直接通信的节点之间传送信息。 3.自组织网络的问题: (1)节点移动 ...
分类:
其他好文 时间:
2020-02-18 20:49:49
阅读次数:
148
给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。 给出数字到字母的映射如下(与电话按键相同)。注意 1 不对应任何字母。dianhua 示例: 输入:"23"输出:["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"]. 代码如 ...
分类:
其他好文 时间:
2020-02-18 11:19:29
阅读次数:
82
Largest palindrome product A palindromic number reads the same both ways. The largest palindrome made from the product of two 2 digit numbers is 9009 ...
分类:
其他好文 时间:
2020-02-17 18:15:39
阅读次数:
102