码迷,mamicode.com
首页 >  
搜索关键字:目录索引    ( 299个结果
【LeetCode-面试算法经典-Java实现】【066-Plus One(加一)】
【066-Plus One(加一)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a non-negative number represented as an array of digits, plus one to the number.   The digits are stored such that the most significant di...
分类:编程语言   时间:2015-08-02 06:24:03    阅读次数:159
【LeetCode-面试算法经典-Java实现】【067-Add Binary(二进制加法)】
【067-Add Binary(二进制加法)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given two binary strings, return their sum (also a binary string).   For example,   a = "11"   b = "1"   Return "100" 题目大意  给定两个二进制的字符串...
分类:编程语言   时间:2015-08-02 06:23:42    阅读次数:194
【LeetCode-面试算法经典-Java实现】【063-Unique Paths II(唯一路径问题II)】
【063-Unique Paths II(唯一路径问题II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Follow up for “Unique Paths”:   Now consider if some obstacles are added to the grids. How many unique paths would there be?   An...
分类:编程语言   时间:2015-08-01 08:52:40    阅读次数:148
【LeetCode-面试算法经典-Java实现】【061-Rotate List(旋转单链表)】
【061-Rotate List(旋转单链表)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a list, rotate the list to the right by k places, where k is non-negative.   For example:   Given 1->2->3->4->5->NULL and k = 2,...
分类:编程语言   时间:2015-08-01 07:45:38    阅读次数:164
【LeetCode-面试算法经典-Java实现】【062-Unique Paths(唯一路径)】
【062-Unique Paths(唯一路径)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).   The robot can only move either down or...
分类:编程语言   时间:2015-08-01 07:45:10    阅读次数:1868
【LeetCode-面试算法经典-Java实现】【057-Insert Interval(插入区间)】
【057-Insert Interval(插入区间)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).   You may assume that the inte...
分类:编程语言   时间:2015-07-31 07:51:40    阅读次数:115
【LeetCode-面试算法经典-Java实现】【058-Length of Last Word (最后一个单词的长度)】
【058-Length of Last Word (最后一个单词的长度)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the...
分类:编程语言   时间:2015-07-31 07:51:19    阅读次数:149
【LeetCode-面试算法经典-Java实现】【059-Spiral Matrix II(螺旋矩阵II)】
【059-Spiral Matrix II(螺旋矩阵II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.   For example,   Given n = 3,   Yo...
分类:编程语言   时间:2015-07-31 07:50:51    阅读次数:179
【LeetCode-面试算法经典-Java实现】【075-Sort Colors (颜色排序)】
【075-Sort Colors (颜色排序)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the...
分类:编程语言   时间:2015-07-30 07:12:16    阅读次数:136
【LeetCode-面试算法经典-Java实现】【074-Search a 2D Matrix(搜索二维矩阵)】
【074-Search a 2D Matrix(搜索二维矩阵)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:   Integers in...
分类:编程语言   时间:2015-07-30 07:10:54    阅读次数:181
299条   上一页 1 ... 20 21 22 23 24 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!