摘要:
Palindrome Number 问题描述如下: Determine whether an integer is a palindrome. Do this without extra space. 关键在不占用额外的空间的情况下生成它的回文序列,然后作差即可。 如果相等,说明回文,如果不相等说明 阅读全文
摘要:
Count and Say The count-and-say sequence is the sequence of integers with the first five terms as following: 1 is read off as "one 1" or 11.11 is read 阅读全文
摘要:
Median of Two Sorted Arrays 问题描述如下: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays 阅读全文
摘要:
ZigZag Conversion 问题描述如下: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display thi 阅读全文