摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Input: "babad"Outpu... 阅读全文
posted @ 2018-06-13 15:01 zx-y 阅读(85) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", ... 阅读全文
posted @ 2018-06-13 11:49 zx-y 阅读(115) 评论(0) 推荐(0) 编辑
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of th... 阅读全文
posted @ 2018-06-13 00:30 zx-y 阅读(101) 评论(0) 推荐(0) 编辑