Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a g ...
分类:
其他好文 时间:
2017-06-28 18:51:23
阅读次数:
175
题目: Given a collection of intervals, merge all overlapping intervals. For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,18]. 题意及分析: ...
分类:
编程语言 时间:
2017-06-28 10:59:01
阅读次数:
170
Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a g ...
分类:
其他好文 时间:
2017-06-25 10:18:15
阅读次数:
201
https://leetcode.com/problems/decode-ways/#/description A message containing letters from A-Z is being encoded to numbers using the following mapping: ...
分类:
其他好文 时间:
2017-06-23 22:12:27
阅读次数:
162
//计算1+2+...+n的值 var n = 10; n = parseInt(n); var res = 0; for(var i=1;i"); } /*--------- * *** ***** ******* ********* ----------*/ var n = 5; for(var... ...
分类:
Web程序 时间:
2017-06-20 12:30:07
阅读次数:
166
You have asked some very important questions. I think the first step is to prioritize the issues: ...
分类:
其他好文 时间:
2017-06-19 13:01:19
阅读次数:
204
Remove all elements from a linked list of integers that have valueval. Have you met this question in a real interview? Yes Remove all elements from a ...
分类:
其他好文 时间:
2017-06-13 23:59:20
阅读次数:
412
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s = "leetcode" return 0. ...
分类:
其他好文 时间:
2017-06-11 10:11:16
阅读次数:
163
https://leetcode.com/problems/valid-anagram/#/description Given two strings s and t, write a function to determine if t is an anagram of s. For exampl ...
分类:
其他好文 时间:
2017-06-10 18:28:01
阅读次数:
254
1、如何理解web语义化 定义:Web语义化是指使用恰当语义的html标签、class类名等内容,让页面具有良好的结构与含义,从而让人和机器都能快速理解网页内容。 目的:有利于Search Engine Optimization (SEO)即搜索引擎优化 实现: A、HTML标签语义化 经典的页面结 ...
分类:
编程语言 时间:
2017-06-09 20:24:58
阅读次数:
162