摘要: Description: The string __"PAYPALISHIRING"__ is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern 阅读全文
posted @ 2018-03-13 21:26 shengwudiyi 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Description: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 题意: 找出最长的回文串 思路: 题目的标 阅读全文
posted @ 2018-03-13 20:41 shengwudiyi 阅读(450) 评论(0) 推荐(0) 编辑
摘要: Description: 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 阅读全文
posted @ 2018-03-13 20:22 shengwudiyi 阅读(87) 评论(0) 推荐(0) 编辑