leetcode Valid Palindrome
来源:互联网 发布:网络运营商无服务 编辑:程序博客网 时间:2024/06/10 21:05
Valid Palindrome
My SubmissionsTotal Accepted: 68173 Total Submissions: 309046 Difficulty: Easy
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,"A man, a plan, a canal: Panama"
is a palindrome."race a car"
is not a palindrome.
Note:
Have you consider that the string might be empty? This is a good question to ask during an interview.
For the purpose of this problem, we define empty string as valid palindrome.
该题主要是理解问题是什么。所谓的回串就是这个串的第一个和最后一个相等,第二个和倒数第二个相等.......当然,不区分大小写,如果是非数字非字母则跳过。
0 0
- [Leetcode] Valid Palindrome
- Leetcode: Valid Palindrome
- leetcode 55: Valid Palindrome
- [LeetCode] Valid Palindrome
- 【leetcode】Valid Palindrome
- LeetCode - Valid Palindrome
- [leetcode]Valid Palindrome
- [LeetCode]Valid Palindrome
- [Leetcode]Valid Palindrome
- LeetCode-Valid Palindrome
- [leetcode] Valid Palindrome
- LeetCode 125: Valid Palindrome
- LeetCode - Valid Palindrome
- leetcode之Valid Palindrome
- LeetCode | Valid Palindrome
- [leetcode]Valid Palindrome
- 【leetcode】Valid Palindrome
- LeetCode题解:Valid Palindrome
- vi编辑器的使用(1)
- Codeforces Round #319 (Div. 2) B Modulo Sum (背包)
- Retrofit – Java(Android) 的REST 接口封装类库
- IOS中定时器NSTimer的开启与关闭
- 自定义Adapter并通过布局泵LayoutInflater抓取layout模板编辑每一个item
- leetcode Valid Palindrome
- inverse = “true” example and explanation
- EXT结合POI导出数据到Excel表格
- MyBatis学习总结(三)——优化MyBatis配置文件中的配置
- linux下用vim编写C/C++工程(多个源文件)的基本方法
- Android:都是Layout的BaselineAligned惹的祸
- js解决浏览器自动填充账号密码
- 《程序员面试金典》猫狗收容所
- gallery 各种事件监听方法详解