码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
Longest Palindromic Substring(最长回文子串)
Description: 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-02-10 23:08:13    阅读次数:232
Why service collaboration needs choreography AND orchestration
转自:https://blog.bernd-ruecker.com/why-service-collaboration-needs-choreography-and-orchestration-239c4f9700fa Let’s assume you want to build a simple ...
分类:其他好文   时间:2019-02-03 23:27:24    阅读次数:177
LeetCode-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 exa ...
分类:其他好文   时间:2019-02-03 11:08:11    阅读次数:193
LeetCode-106-Construct Binary Tree from Inorder and Postorder Traversal
算法描述: Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For ex ...
分类:其他好文   时间:2019-02-03 10:41:35    阅读次数:198
LeetCode-98-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 contain ...
分类:其他好文   时间:2019-02-02 17:02:41    阅读次数:149
169. Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the ...
分类:其他好文   时间:2019-01-28 19:21:17    阅读次数:186
1052 Linked List Sorting (25 分)
1052 Linked List Sorting (25 分) A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each st ...
分类:其他好文   时间:2019-01-27 21:45:35    阅读次数:142
leetcode 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: 还是用DP来递归,抓住回 ...
分类:其他好文   时间:2019-01-26 21:38:37    阅读次数:150
5. Longest Palindromic Substring - Medium
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: ...
分类:其他好文   时间:2019-01-25 11:34:43    阅读次数:173
19.1.20 [LeetCode 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: 1 class Solu ...
分类:其他好文   时间:2019-01-20 15:07:08    阅读次数:164
1858条   上一页 1 ... 14 15 16 17 18 ... 186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!