摘要:
判断一个整数是不是回文 阅读全文
摘要:
将输入的字符串转换为整数 阅读全文
摘要:
Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 反转整数 看到easy刚开始写了一段如上的代码就过了,知道某次面试遇到原题。面试官指出该段代码并不能通过,让我再想一下 阅读全文
摘要:
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
摘要:
最长回文子串 拓展:最长回文子序列 阅读全文
摘要:
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh 阅读全文