Longest Increasing Sequence
Find the longest increasing subsequence in an integer array. E.g, for array {1, 3, 2, 4}, return 3.
该标签下的全部文章。
Find the longest increasing subsequence in an integer array. E.g, for array {1, 3, 2, 4}, return 3.
Given a string S, find the longest palindromic substring in S.
Given a string, find the length of the longest substring without repeating characters.
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return it
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its ar
给定一个整数数组,请找出一个连续子数组,使得该子数组的和最大。输出答案时,请分别返回第一个数字和最后一个数字的值。(如果两个相同的答案,请返回其中任意一个)