1. 什么是 AngularJS - 一款非常优秀的前端高级 JS 框架 - 最早由 Misko Hevery 等人创建 - 2009 年被 Google 公式收购,用于其多款产品 - 目前有一个全职的开发团队继续开发和维护这个库 - 有了这一类框架就可以轻松构建 SPA 应用程序 - 轻松构建 S ...
分类:
其他好文 时间:
2016-09-23 07:38:36
阅读次数:
168
更新你的无线网卡驱动到最新版本15.68.9032.47,重启。或者运行regedit修改注册表 HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\mrvlpcie8897,找到值 “TXAMSDU”把它从1改为0。 ...
分类:
其他好文 时间:
2016-09-23 07:38:43
阅读次数:
1759
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Remov ...
分类:
其他好文 时间:
2016-09-23 07:39:23
阅读次数:
112
无线电 - 自由空间传播的电磁波 无线电 - 自由空间传播的电磁波 无线电是指在所有自由空间(包括空气和真空)传播的电磁波,是其中的一个有限频带,上限频率在300GHz(吉赫兹),下限频率较不统一, 在各种射频规范书, 常见的有3KHz~300GHz(ITU-国际电信联盟规定),9KHz~300GH ...
分类:
其他好文 时间:
2016-09-23 06:38:13
阅读次数:
146
Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty. Example:Given bi ...
分类:
其他好文 时间:
2016-09-23 06:39:13
阅读次数:
190
课程链接:目标2017高中数学联赛基础班-2(赵胤授课) 1、已知 $f(x) = x^5 + ax^3 + bx + c\sqrt[3]{x} + 8$ (其中 $a, b, c\in\mathbf{R}$), 且 $f(-2) = 10$. 求 $f(2)$ 的值. 解答: 令 $g(x) = ...
分类:
其他好文 时间:
2016-09-23 06:37:14
阅读次数:
178
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:
其他好文 时间:
2016-09-23 06:36:21
阅读次数:
178
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:
其他好文 时间:
2016-09-23 06:37:17
阅读次数:
133
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and ...
分类:
其他好文 时间:
2016-09-23 06:37:32
阅读次数:
139
Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. ...
分类:
其他好文 时间:
2016-09-23 06:35:57
阅读次数:
176
You can generate Angular 2 components using a combination of ViewContainer and ComponentFactory, but you must always remember to add the components yo ...
分类:
其他好文 时间:
2016-09-23 06:35:11
阅读次数:
753
脏读(Dirty Read) 脏读意味着一个事务读取了另一个事务未提交的数据,而这个数据是有可能回滚 不可重复读(Unrepeatable Read) 不可重复读意味着,在数据库访问中,一个事务范围内两个相同的查询却返回了不同数据。这是由于查询时系统中其他事务修改的提交而引起的。 例如:事务B中对某 ...
分类:
其他好文 时间:
2016-09-23 06:35:51
阅读次数:
136
链接:http://bak.vjudge.net/problem/UVA-1153 分析:将n个工作按截止时间d从小到大排序。用优先队列维护在当前截止时间di下,实现完成工作数的最大化时,选取的各个工作的需要时间。每次取一个工作i,先把它扔进队列中(这样保证n个工作都进过队列,在后面我们只需记录下从 ...
分类:
其他好文 时间:
2016-09-23 06:34:53
阅读次数:
189
1.用具名常量替代神秘数值: 如果使用了数字或字符表示形式,例如3.14,那么请将这样的字符使用具名常量来替代,例如PI 2.使用变量的名字更为清晰且传递更多的信息: 如果一个变量的名字容易让人产生误解,就换个好点的名字 3.将表达式内联化: 把一个中间变量换成给它赋值的那个表达式本身 4.用函数来 ...
分类:
其他好文 时间:
2016-09-23 06:31:55
阅读次数:
115