(上次DOM的部分做了些补充,欢迎查看Chrome development tools学习笔记(2))
利用DevTools Elements工具来调试页面样式
CSS(Cascading Style Sheets层叠样式表)定义了Web页面的表示层,是能够真正做到网页表现与内容分离的一种样式设计语言。本文主要是讲调试工具,关于CSS学习可以参考W3school的CSS部分:http:...
分类:
其他好文 时间:
2015-03-16 23:14:11
阅读次数:
566
标题:Subsets II通过率:27.5难度:中等Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must b...
分类:
其他好文 时间:
2015-03-16 21:04:46
阅读次数:
116
标题:Subsets通过率:28.2%难度:中等Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The ...
分类:
其他好文 时间:
2015-03-16 16:20:18
阅读次数:
82
Rotate an array of n elements to the right by k steps.
For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]....
分类:
其他好文 时间:
2015-03-16 09:55:48
阅读次数:
126
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.分治是比较好而且容易想到的思路。 1 class Solution { 2 public: 3 T...
分类:
其他好文 时间:
2015-03-15 23:32:20
阅读次数:
212
题目链接:Spiral Matrix II
Given an integer n, generate a square matrix filled with elements from 1 to n^2 in spiral order.
For example,
Given n = 3,
You should return the following matrix:
[
[ 1,...
分类:
其他好文 时间:
2015-03-15 00:52:27
阅读次数:
386
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:
其他好文 时间:
2015-03-14 21:43:57
阅读次数:
145
Binomial Showdown
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 18457
Accepted: 5633
Description
In how many ways can you choose k elements out of n ...
分类:
其他好文 时间:
2015-03-14 17:00:47
阅读次数:
126
1.题目Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't matter what you leave beyond the new length.2.解决方...
分类:
其他好文 时间:
2015-03-13 22:26:07
阅读次数:
128