
Leetcode
孤独考拉
Github:https://github.com/Jackson-run
展开
-
Leetcode 之 Longest Common Prefix
Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: [“flower”,“flow”...原创 2018-11-25 21:45:06 · 255 阅读 · 0 评论 -
Leetcode 之 Longest Palindromic Substring
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. Example ...原创 2018-11-25 21:45:45 · 285 阅读 · 0 评论