码迷,mamicode.com
首页 >  
搜索关键字:each    ( 14050个结果
Remove Duplicates from Sorted List
题目 Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. 方法 遍...
分类:其他好文   时间:2014-06-11 00:41:44    阅读次数:207
LeetCode——
Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two...
分类:其他好文   时间:2014-06-11 00:35:15    阅读次数:243
Largest Rectangle in Histogram
题目 Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram w...
分类:其他好文   时间:2014-06-10 15:34:02    阅读次数:252
Leetcode:Trapping Rain Water
戳我去解题Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raini...
分类:移动开发   时间:2014-06-10 08:48:04    阅读次数:267
【leetcode】Climbing Stairs
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2014-06-10 08:41:34    阅读次数:206
[LeetCode OJ] Candy
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:其他好文   时间:2014-06-10 00:35:47    阅读次数:246
九jQuery源码解析之.each()
jQuery中存在两个each方法都是用于遍历的, 一个是对jQuery对象集合使用.each(),用于遍历这个集合; .each(function(index,element)) 还有一个是扩展jQuery的静态.each()方法.从源码中可以看到,存在一...
分类:Web程序   时间:2014-06-09 21:47:59    阅读次数:275
[办公应用]如何将excel合并单元格分拆后每个单元格上仍保留数据?
合并单元格虽然美观,但是无法进行排序、筛选等操作。只有合并单元格拆分后才可以按常规进行统计。但是普通拆分后,excel仅保留合并单元格数据到区域左上角的单元格。解决方案:选定多个合并单元格,应用本宏即可每个单元格均保留数据:Sub 拆分() Dim c As Range For Each c In ...
分类:其他好文   时间:2014-06-09 20:04:16    阅读次数:268
poj 1469 COURSES
DescriptionConsider a group of N students and P courses. Each student visits zero, one or more than one courses. Your task is to determine whether it ...
分类:其他好文   时间:2014-06-09 15:36:50    阅读次数:239
LeetCode --- Rotate Image
题目链接题意: 给出 n * n的矩阵,要求将矩阵顺时针旋转90°(不使用额外空间) 1 /* 2 Basically, divide the array into 4 along the diagonals, 3 then for each element in the top ...
分类:其他好文   时间:2014-06-09 15:28:14    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!