摘要:
15. 3Sum Given an array nums of n integers, are there elements a, b, c in nums such that a + b+ c = 0? Find all unique triplets in the array which giv 阅读全文
posted @ 2019-02-14 22:04
mingL
阅读(139)
评论(0)
推荐(0)
摘要:
14. 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 阅读全文
posted @ 2019-02-14 21:49
mingL
阅读(218)
评论(0)
推荐(0)
摘要:
13. Roman to Integer Roman numerals are represented by seven different symbols: I, V, X, L, C, Dand M. For example, two is written as II in Roman nume 阅读全文
posted @ 2019-02-14 21:21
mingL
阅读(119)
评论(0)
推荐(0)
摘要:
12. Integer to Roman Roman numerals are represented by seven different symbols: I, V, X, L, C, Dand M. For example, two is written as II in Roman nume 阅读全文
posted @ 2019-02-14 21:19
mingL
阅读(110)
评论(0)
推荐(0)
摘要:
11. Container With Most Water Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines ar 阅读全文
posted @ 2019-02-14 21:17
mingL
阅读(122)
评论(0)
推荐(0)
摘要:
10. Regular Expression Matching Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. The m 阅读全文
posted @ 2019-02-14 21:01
mingL
阅读(107)
评论(0)
推荐(0)
摘要:
9. Palindrome Number Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: E 阅读全文
posted @ 2019-02-14 20:51
mingL
阅读(111)
评论(0)
推荐(0)
摘要:
8. String to Integer (atoi) Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessa 阅读全文
posted @ 2019-02-14 20:49
mingL
阅读(190)
评论(0)
推荐(0)
摘要:
7. Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: 阅读全文
posted @ 2019-02-14 20:42
mingL
阅读(147)
评论(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 @ 2019-02-14 20:40
mingL
阅读(170)
评论(0)
推荐(0)

浙公网安备 33010602011771号