码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
5. 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. Example 1: Example 2: 解答 ...
分类:其他好文   时间:2019-03-10 11:14:21    阅读次数:126
105. Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:其他好文   时间:2019-03-10 09:53:03    阅读次数:121
Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:其他好文   时间:2019-03-04 09:23:18    阅读次数:163
UVA10177 (2/3/4)-D Sqr/Rects/Cubes/Boxes?【数学】
You can see a (4 × 4) grid below. Can you tell me how many squares and rectangles are hidden there? You can assume that squares are not rectangles. Pe ...
分类:其他好文   时间:2019-02-20 09:24:36    阅读次数:205
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 lo ...
分类:其他好文   时间:2019-02-18 18:58:53    阅读次数:145
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 lo ...
分类:其他好文   时间:2019-02-18 18:52:07    阅读次数:132
5. Longest Palindromic Substring
5. 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. E ...
分类:其他好文   时间:2019-02-14 00:20:31    阅读次数:172
C解1.Two Sum——LeetCode刷题
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:其他好文   时间:2019-02-13 22:30:45    阅读次数:206
leetcode assign-cookies
455. Assign Cookies Easy 26957FavoriteShare 455. Assign Cookies Easy 26957FavoriteShare Easy Assume you are an awesome parent and want to give your ch ...
分类:其他好文   时间:2019-02-12 18:39:01    阅读次数:180
LC 516. Longest Palindromic Subsequence
Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1:Input: Output ...
分类:其他好文   时间:2019-02-11 12:26:57    阅读次数:172
1858条   上一页 1 ... 13 14 15 16 17 ... 186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!