摘要: Description: Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. The matching should cove 阅读全文
posted @ 2018-08-17 16:47 双肩包码农 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Description: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2 阅读全文
posted @ 2018-08-16 17:26 双肩包码农 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Description: Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the fi 阅读全文
posted @ 2018-08-16 17:05 双肩包码农 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Description: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environm 阅读全文
posted @ 2018-08-16 16:50 双肩包码农 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Description: 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 阅读全文
posted @ 2018-08-16 14:45 双肩包码农 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Description: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 阅读全文
posted @ 2018-08-14 18:13 双肩包码农 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Description: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time 阅读全文
posted @ 2018-08-14 16:02 双肩包码农 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Description: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", w 阅读全文
posted @ 2018-08-13 18:28 双肩包码农 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Description: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their 阅读全文
posted @ 2018-08-13 18:00 双肩包码农 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input 阅读全文
posted @ 2018-08-13 16:08 双肩包码农 阅读(140) 评论(0) 推荐(0) 编辑