摘要:
转自: http://www.laruence.com/2008/01/05/12.html 略有修改 基本概念• 字符(Character)是指人类语言中最小的表义符号。例如'A'、'B'等;• 给定一系列字符,对每个字符赋予一个数值,用数值来代表对应的字符,这一数值就是字符的编码(Encodin 阅读全文
摘要:
字节和比特 byte(字节) 缩写 B,bit (比特)缩写 b。 bit 是计算机中最小的单位,常用于带宽。 byte 是信息计量单位,常用于文件大小。 进制 1byte = 8 bit 往上 KB, MB, GB, TB, PB...的进制分为1024 和1000,根据场景选用。 这种混用是历史 阅读全文
摘要:
##题目描述 Description: Snail Sort Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clock 阅读全文
摘要:
##题目描述 Description: For this exercise you will be strengthening your page-fu mastery. You will complete the PaginationHelper class, which is a utility 阅读全文
摘要:
##题目描述 The new "Avengers" movie has just been released! There are a lot of people at the cinema box office standing in a huge line. Each of them has a 阅读全文
摘要:
##题目描述 Function composition is a mathematical operation that mainly presents itself in lambda calculus and computability. It is explained well here, b 阅读全文
摘要:
## 题目描述: Your task is to write a higher order function for chaining together a list of unary functions. In other words, it should return a function th 阅读全文
摘要:
虽然没什么卵用,但还是要写,不然怎么毕业。 看资料的时候,从 Information-Centric Networking: Seeing the Forest for the Trees 跳到了 Finding a needle in Haystack: Facebook’s photo stor 阅读全文
摘要:
在Node环境中,一个.js文件就称之为一个模块(module)。 hello.js文件就是名为hello的模块 阅读全文
摘要:
# 注意用 而非 == # isNaN(); //如果用 NaN NaN 也是 false # 浮点数计算由于精度问题无法相等,判定要用差值<0.0000001 # 'use strict'; // 杜绝不用 var 就声明变量 >全局变量容易造成问题 # string.substring(i, j 阅读全文