当前位置:网站首页>HJ85 longest palindrome substring
HJ85 longest palindrome substring
2022-07-30 20:31:00 【fK0pS】
Given a string containing only lowercase letters, find the length of its longest palindrome substring.
The so-called palindrome refers to a left-right symmetrical string.
The so-called substring refers to a string that deletes part of its prefix and suffix (or not)
Data range: string length 1\le s\le 350\1≤s≤350
Advanced:Time complexity: O(n)\O(n) , Space complexity: O(n)\O(n)
The palindrome is
a = a[::-1]
边栏推荐
猜你喜欢
随机推荐
巴比特 | 元宇宙每日必读:洗牌将至,数藏行业下半场是否会迎来新一批领头羊?是否会出现新玩法?...
MySQL 视图(详解)
Office365无法打开word文档怎么办?Office365无法打开word文档的解决方法
第03章 用户和权限管理【1.MySQL架构篇】【MySQL高级】
Mysql——字符串函数
银行数据资产转换能力弱?思迈特软件助力解决银行困境
《快速掌握QML》第六章 动画
明解C语言第五章习题
7、MySQL Workbench 导出导入数据库
Running the evict task with compensationTime
是对称矩阵的对角化
化二次型为标准型
MySQL (2)
MySQL Workbench 安装及使用
6.3有定型性 第七章
并发与并行的区别
Maxwell 一款简单易上手的实时抓取Mysql数据的软件
Mysql索引特性(重要)
MySql密码
MySQL数据库字段超长问题








