2015年8月15日

Longest Palindromic Substring

摘要: Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa... 阅读全文

posted @ 2015-08-15 20:26 绿树荫 阅读(121) 评论(0) 推荐(0) 编辑

Median of Two Sorted Arrays

摘要: There are two sorted arraysnums1andnums2of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should... 阅读全文

posted @ 2015-08-15 20:19 绿树荫 阅读(115) 评论(0) 推荐(0) 编辑

导航