摘要: Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there... 阅读全文
posted @ 2014-12-28 22:45 H5开发技术 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 4SumGiven an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum... 阅读全文
posted @ 2014-12-28 20:03 H5开发技术 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 3SumGiven an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:El... 阅读全文
posted @ 2014-12-28 19:36 H5开发技术 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Excel Sheet Column NumberRelated to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column ... 阅读全文
posted @ 2014-12-28 19:01 H5开发技术 阅读(236) 评论(0) 推荐(0) 编辑