写在前面
- 字符串内置函数
- 常用逻辑,涨知识,
题目详情
ac代码
- string 内置函数
- 参考文章
- LeetCode 125. 验证回文串 Valid Palindrome
每日一题leetcode-day7
题目思路回文就是从左往右阅读,和从右往左阅读得到的字符串是相等的。题目说只考虑数字和字母,刚好pytho
题目描述给定一个字符串,验证它是否是回文串,只考虑字母和数字字符,可以忽略字母的大小写。说
写在前面给定一个包含大写字母和小写字母的字符串,找到通过这些字母构造成的最长的回文串。
1. 题目给定一个字符串,验证它是否是回文串,只考虑字母和数字字符,可以忽略字母的大小写。说明:本题中
【代码】Leetcode125. 验证回文串。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M