码迷,mamicode.com
首页 >  
搜索关键字:elements    ( 4737个结果
E - Evaluate Matrix Sum
DescriptionGiven a matrix, the elements of which are all integer number from 0 to 50, you are required to evaluate the square sum of its specified sub...
分类:其他好文   时间:2014-08-20 14:03:22    阅读次数:248
【Leetcode】Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The longest...
分类:其他好文   时间:2014-08-20 14:01:12    阅读次数:184
【Leetcode】Remove Element
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 mat...
分类:其他好文   时间:2014-08-20 13:59:22    阅读次数:176
CSS Notes
Margin vs. PaddingMargin is on the outside of block elements while padding is on the inside. Use margin to separate the block from things outside it. ...
分类:Web程序   时间:2014-08-20 09:12:56    阅读次数:201
poj之最长公共子序列
题目:poj 1458   Common Subsequence Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a...
分类:其他好文   时间:2014-08-19 19:04:25    阅读次数:182
How to create a Multi-device Site - some details
Definning the information architecture (commonly known as IA) and structure of the page.Adding design elements to make it responsive and look good acr...
分类:其他好文   时间:2014-08-19 12:39:14    阅读次数:203
Preloading an Image with jQuery--reference
Preloading images will make your application a bit faster by making it lightweight. It is very simple and easy to create and load DOM elements (in thi...
分类:Web程序   时间:2014-08-19 10:34:53    阅读次数:209
Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-08-17 21:08:02    阅读次数:339
Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.思路:取数组的中点为树的根,前半部分为左子树,后半部分为右子树。 1 class Solution { 2...
分类:其他好文   时间:2014-08-17 13:02:12    阅读次数:210
Square spiral
Square spiralNikola picks up a strange circuit board. All of its elements are connected in a spiral and it is possible to connect the neighboring elem...
分类:其他好文   时间:2014-08-17 09:09:51    阅读次数:411
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!