上一页 1 2 3 4 5 6 7 8 ··· 25 下一页
摘要: Implement regular expression matching with support for '.' and '*'. 阅读全文
posted @ 2017-10-09 17:09 hdu胡恩超 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 9. Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative int 阅读全文
posted @ 2017-10-09 12:43 hdu胡恩超 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 8. String to Integer (atoi) Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challen 阅读全文
posted @ 2017-10-09 10:32 hdu胡恩超 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 7. Reverse Integer Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Note:The input i 阅读全文
posted @ 2017-10-08 23:18 hdu胡恩超 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 6. ZigZag Conversion The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pat 阅读全文
posted @ 2017-10-08 21:55 hdu胡恩超 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 5. 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. E 阅读全文
posted @ 2017-10-07 17:16 hdu胡恩超 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 4. Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The 阅读全文
posted @ 2017-10-06 23:51 hdu胡恩超 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-10-06 01:15 hdu胡恩超 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 2. Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of 阅读全文
posted @ 2017-10-05 23:03 hdu胡恩超 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. Two Sum 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 wo 阅读全文
posted @ 2017-10-05 20:45 hdu胡恩超 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 25 下一页