首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
首页
>
试题广场
>
判断回文串
[编程题]判断回文串
热度指数:110
时间限制:C/C++ 1秒,其他语言2秒
空间限制:C/C++ 256M,其他语言512M
算法知识视频讲解
给定一个字符串,判断是否回文串,只考虑字母数字字符和忽略大小写。
示例1
输入
"A man, a plan, a canal: Panama"
输出
1
马上挑战
算法知识视频讲解
提交运行
算法知识视频讲解
添加笔记
求解答(0)
邀请回答
收藏(1)
分享
纠错
提交结果有问题?
2个回答
0篇题解
开通博客
暂无题解
问题信息
C++工程师
2020
映客
Java工程师
上传者:
小小
难度:
2条回答
1收藏
2774浏览
热门推荐
通过挑战的用户
/坠ぅ落、
2023-01-19 15:18:26
牛客34731...
2022-09-08 21:52:39
有一套的小章鱼在泡澡
2022-07-21 14:18:44
牛客47310...
2022-07-10 23:33:39
牛客64954...
2022-07-09 09:09:56
相关试题
看图回答
判断推理
2020
人力资源
安永
审计
税务服务
风险管理
管理咨询
行政管理
评论
(2)
来自
职能类模拟题2
看图回答
判断推理
2020
人力资源
安永
审计
税务服务
风险管理
管理咨询
行政管理
评论
(1)
来自
职能类模拟题2
假定所有变量均已正确定义,则下列程...
算法工程师
映客
2020
评论
(0)
关于大模型“上下文窗口”的理解,以...
大模型概念
评论
(1)
Vue Router的全局前置守卫...
Vue
评论
(1)
判断回文串
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题
import java.util.*; public class Solution { /** * * @param s string字符串 * @return int整型 */ public int isParlindrome (String s) { // write code here } }
class Solution { public: /** * * @param s string字符串 * @return int整型 */ int isParlindrome(string s) { // write code here } };
# # # @param s string字符串 # @return int整型 # class Solution: def isParlindrome(self , s ): # write code here
/** * * @param s string字符串 * @return int整型 */ function isParlindrome( s ) { // write code here } module.exports = { isParlindrome : isParlindrome };
# # # @param s string字符串 # @return int整型 # class Solution: def isParlindrome(self , s ): # write code here
"A man, a plan, a canal: Panama"
1