果果1020

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2017年1月2日

摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
posted @ 2017-01-02 12:27 果果1020 阅读(112) 评论(0) 推荐(0)

摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Manacher Algorithm: DP: 阅读全文
posted @ 2017-01-02 12:25 果果1020 阅读(107) 评论(0) 推荐(0)

摘要: There are two sorted arrays nums1 and nums2 of size m and n respectively. 阅读全文
posted @ 2017-01-02 12:21 果果1020 阅读(140) 评论(0) 推荐(0)

摘要: Given a string, find the length of the longest substring without repeating characters. 阅读全文
posted @ 2017-01-02 12:19 果果1020 阅读(61) 评论(0) 推荐(0)

摘要: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single 阅读全文
posted @ 2017-01-02 12:17 果果1020 阅读(93) 评论(0) 推荐(0)

摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. 阅读全文
posted @ 2017-01-02 12:10 果果1020 阅读(113) 评论(0) 推荐(0)