会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
哥哥乘风
博客园
新随笔
联系
管理
2021年7月1日
LeetCode 每日一题(5. 最长回文子串)
摘要: class Solution { public: string longestPalindrome(string s) { if (s.size() <= 1){ return s; } int a = 0; //记录临时值 int length = 0; int ta = 1; //滑动窗口边界
阅读全文
posted @ 2021-07-01 22:46 lesten
阅读(42)
评论(0)
推荐(0)