Find Duplicates
You have an array with all the numbers from 1 to N, where N is at most 32,000.
该标签下的全部文章。
You have an array with all the numbers from 1 to N, where N is at most 32,000.
Determine whether an integer is a palindrome. Do this without extra space.
回文,英文palindrome,指一个顺着读和反过来读都一样的字符串,比如madam、我爱我,这样的短句在智力性、趣味性和艺术性上都颇有特色,中国历史上还有很多有趣的回文诗。
Given a string, write a function to check if it is a permutation of a palindrome.
Given two strings, write a method to decide if one is a permutation of the other.