码迷,mamicode.com
首页 >  
搜索关键字:filled    ( 594个结果
[LeetCode] #36 Valid Sudoku
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他好文   时间:2015-06-16 10:52:02    阅读次数:146
Java for LeetCode 221 Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:编程语言   时间:2015-06-15 18:34:55    阅读次数:1218
LeetCode之“动态规划”:Minimum Path Sum && Unique Paths && Unique Paths II
之所以将这三道题放在一起,是因为这三道题非常类似。 1.Minimum Path Sum 题目链接 题目要求: Given amxngrid filled with non-negative numbers, find a path from top left to bottom rig...
分类:其他好文   时间:2015-06-13 16:59:46    阅读次数:125
LeetCode36:Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled with the character '.'. A partially fille...
分类:其他好文   时间:2015-06-11 19:33:01    阅读次数:129
Leetcode[222]-Count Complete Tree Nodes
Given a complete binary tree, count the number of nodes.Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and...
分类:其他好文   时间:2015-06-11 14:42:50    阅读次数:126
LeetCode之“动态规划”:Maximal Square
题目链接 题目要求: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given ...
分类:其他好文   时间:2015-06-09 21:20:57    阅读次数:76
【Spiral Matrix II】cpp
题目:Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following ma...
分类:其他好文   时间:2015-06-09 08:30:13    阅读次数:106
Count Complete Tree Nodes
complete tree,except possibly the last, is completely filled, and all nodes in the last level are as far left as possible.from wiki本来在考虑最底层到底满不满,发现是通过...
分类:其他好文   时间:2015-06-09 06:12:13    阅读次数:99
leetcode_64题——Minimum Path Sum(动态规划)
Minimum Path SumTotal Accepted:38669Total Submissions:120082My SubmissionsQuestionSolutionGiven amxngrid filled with non-negative numbers, find a path...
分类:其他好文   时间:2015-06-08 11:07:16    阅读次数:95
[leetcode] Maximal Square
Problem:Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the follow...
分类:其他好文   时间:2015-06-07 23:31:41    阅读次数:123
594条   上一页 1 ... 34 35 36 37 38 ... 60 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!