leetcode
文章平均质量分 68
bomekkkk
想进蚂蚁金服
展开
-
5. Longest Palindromic Substring (最长回文子序列)
LeetCode 第5题Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example 1:Input: "babad"Output: "bab"Note: "aba" is also a valid answer...原创 2018-05-05 17:37:05 · 1492 阅读 · 0 评论 -
142. Linked List Cycle II - Leetcode
142. Linked List Cycle IIProblems:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note:Do not modify the linked list.Solution:题目的意思是有个链...原创 2018-06-09 15:40:29 · 358 阅读 · 0 评论