############################################################################### codecademy python 5.5# Define a function factorial that takes an integ ...
分类:
编程语言 时间:
2018-05-18 14:20:05
阅读次数:
284
本文转载自:http://www.ruanyifeng.com/blog/2010/05/word-processing_system_in_1979.html 上周五,《大西洋》月刊的记者James Fallows,在Blog上回忆28年前(1982年)的一篇旧文。 那个时候,他刚入行不久,每周有 ...
分类:
其他好文 时间:
2018-05-18 00:25:08
阅读次数:
253
在执行git pull origin master时出现: fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure yo ...
分类:
移动开发 时间:
2018-05-13 15:03:58
阅读次数:
7943
1、题目: 给定一个范围在 1 ≤ a[i] ≤ n ( n = 数组大小 ) 的 整型数组,数组中的元素一些出现了两次,另一些只出现一次。 找到所有在 [1, n] 范围之间没有出现在数组中的数字。 您能在不使用额外空间且时间复杂度为O(n)的情况下完成这个任务吗? 你可以假定返回的数组不算在额外 ...
分类:
编程语言 时间:
2018-05-10 17:33:06
阅读次数:
217
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the ...
分类:
其他好文 时间:
2018-05-05 14:13:32
阅读次数:
150
high bias if the robot has learnt something (no changes appear with iterations) however, in the real world tasks, the task could change a little bit, ...
分类:
其他好文 时间:
2018-05-04 18:25:31
阅读次数:
216
if (@available(iOS 11.0, *)){//避免滚动视图顶部出现20的空白以及push或者pop的时候页面有一个上移或者下移的异常动画的问题 [[UIScrollView appearance] setContentInsetAdjustmentBehavior:UIScrollV ...
分类:
移动开发 时间:
2018-05-04 14:08:55
阅读次数:
229
关于XSS攻击 XSS是一种经常出现在web应用中的计算机安全漏洞,它允许恶意web用户将代码植入到提供给其它用户使用的页面中。 <! more XSS漏洞的危害 1. 网络钓鱼,包括盗取各类用户账号; 2. 窃取用户cookies资料,从而获取用户隐私信息,或利用用户身份进一步对网站执行操作; 3 ...
分类:
其他好文 时间:
2018-05-02 23:54:34
阅读次数:
516
Annotations are tags that you insert into your source code so that some tool can process them. The tools can operate on source level or they can proce ...
分类:
编程语言 时间:
2018-05-02 02:46:26
阅读次数:
168
[抄题]: Given a column title as appear in an Excel sheet, return its corresponding column number. For example: Example 1: Example 2: Example 3: [暴力解法]: ...
分类:
其他好文 时间:
2018-05-01 20:30:01
阅读次数:
149