码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:其他好文   时间:2014-09-09 12:14:08    阅读次数:200
Merge Sorted Array <leetcode>
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-09-03 11:05:46    阅读次数:168
Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be o...
分类:其他好文   时间:2014-09-02 22:46:45    阅读次数:227
LeetCode: Merge Sorted Array
LeetCode: Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array. Note:You may assume that A has enough space (...
分类:其他好文   时间:2014-09-01 22:29:23    阅读次数:172
LeetCode: Validata Binary Search Tree
LeetCode: Validata Binary Search TreeGiven a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The l...
分类:其他好文   时间:2014-08-28 23:59:16    阅读次数:421
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-08-28 20:57:46    阅读次数:201
Insert Interval
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initial...
分类:其他好文   时间:2014-08-26 21:18:36    阅读次数:204
[LeetCode] Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:其他好文   时间:2014-08-26 19:09:06    阅读次数:153
[LeetCode] Sudoku Solver(迭代)
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be o...
分类:其他好文   时间:2014-08-26 00:18:35    阅读次数:290
poj 1328 Radar Installation (贪心)
Radar Installation Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 52823   Accepted: 11883 Description Assume the coasting is an infinite straight line. La...
分类:其他好文   时间:2014-08-25 21:15:45    阅读次数:284
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!