自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 问答 (23)
  • 收藏
  • 关注

原创 Climbing Stairs

题目来自于: LeetCode 70.Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can

2016-01-23 00:27:12 208

原创 Power of Two

题目来自于: LeetCode 231.power of two Given an integer, write a function to determine if it is a power of two. 思路:一个数如果不是2^n,那么对这个数反复做除二操作最后的余数一定是1. language-javascript /** * @param {

2016-01-22 20:12:48 200

原创 Ugly Number

/** * @param {number} num * @return {boolean} */ var isUgly = function(num) { if(num <= 0){ return false; } if(num == 1){ return true; } while(num % 2 === 0){

2016-01-22 09:48:49 226

原创 Majority Element

题目来自于: LeetCode 169.Majority Element 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 t

2016-01-22 00:34:00 249

原创 Valid Anagram

题目来自于: LeetCode  242 Valid Anagram Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat", t = "

2016-01-14 18:14:54 286

空空如也

react-native-video方法中打印数据无法显示

2017-01-07

Node.js + request + cheerio 爬取数据出现问题

2016-04-12

关于node + express()4.x

2016-04-06

为什么在ejs模板使用<%= img_tag('/images/a.jpg') %>报错?

2015-09-18

nodejs如何将form表单post的文件存入到mongodb数据库,并且读取到存储的文件

2015-09-17

用node+express4写了个简单的登录注册页面,但是出现了个bug不知道怎么解决?

2015-09-13

用node使用crypto模块测试时页面显示Not a string or buffer是怎么回事

2015-09-13

我用git bush 使用mongodb的命令,为什么not found?

2015-09-12

nodejs在控制台上报了如下错误,求解???

2015-09-12

nodejs 用express+mongodb搭建多人博客时报错

2015-08-23

nodejs写的聊天室chome一直在报错求解

2015-08-21

nodejs express调用中间件时报错

2015-08-20

我用webstrom写nodejs,在console时输出中文有乱码,请问是怎么回事

2015-08-12

在git bash中输出node的指令为什么会出现乱码?

2015-08-12

一道js的题,(小白刚接触js很多不太懂。)

2015-08-03

javascript关于cookie的问题

2015-06-26

js解决两个页面创建元素的问题

2015-06-26

Js代码里头的alert为什么显示undefind?

2015-06-25

js如何判断一个元素是否被点击了

2015-06-25

关于html屏幕自适应的问题

2015-06-12

html5如何让封装成安卓.apk文件

2015-06-11

js为元素绑定不同点击事件时出现问题

2015-06-07

jquery toggle()切换两个函数时报错

2015-06-06

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除