摘要: 问题: 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 f 阅读全文
posted @ 2016-09-26 22:48 Gerrard_Feng 阅读(240) 评论(0) 推荐(1)
摘要: 问题: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo 阅读全文
posted @ 2016-09-26 20:27 Gerrard_Feng 阅读(220) 评论(0) 推荐(1)
摘要: 问题: 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 阅读全文
posted @ 2016-09-26 14:07 Gerrard_Feng 阅读(258) 评论(0) 推荐(1)