原文:[LeetCode] 845. Longest Mountain in Array 数组中最长的山

Let s call any contiguous subarray B of A amountainif the following properties hold: B.length gt There exists some lt i lt B.length such thatB lt B lt ... B i lt B i gt B i gt ... gt B B.length Note ...

2019-03-01 23:49 0 1804 推荐指数:

查看详情

[LeetCode] Longest Palindrome 最长回文串

Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. ...

Wed Oct 05 18:45:00 CST 2016 2 11586
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM