码迷,mamicode.com
首页 >  
搜索关键字:面试算法    ( 239个结果
【LeetCode-面试算法经典-Java实现】【079-Word Search(单词搜索)】
【079-Word Search(单词搜索)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a 2D board and a word, find if the word exists in the grid.   The word can be constructed from letters of sequentially adjacent cell,...
分类:编程语言   时间:2015-08-03 07:49:37    阅读次数:131
【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实现】【064-Minimum Path Sum(最小路径和)】
【064-Minimum Path Sum(最小路径和)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers...
分类:编程语言   时间:2015-08-02 06:23:02    阅读次数:928
【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
239条   上一页 1 ... 14 15 16 17 18 ... 24 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!