leetcode
DoubleJan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Roman to Integer
一 问题描述Roman to IntegerRoman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C ...原创 2019-07-09 18:15:44 · 204 阅读 · 0 评论 -
Longest Common Prefix
一 问题描述Longest Common PrefixWrite 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"...原创 2019-07-09 18:19:34 · 284 阅读 · 0 评论 -
Two Sum
一 问题描述Two SumGiven 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 would have exactly one solution, and you may not...原创 2019-07-05 19:25:17 · 189 阅读 · 0 评论 -
Reverse Integer
一 问题描述Reverse IntegerGiven a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assu...原创 2019-07-07 14:27:37 · 176 阅读 · 0 评论 -
Palindrome Number
一 问题描述Palindrome NumberDetermine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueExample 2:Input: -121...原创 2019-07-07 15:22:20 · 286 阅读 · 0 评论 -
6. Valid Parentheses
一 问题描述Valid ParenthesesGiven a string containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.An input string is valid if:Open brackets must be cl...原创 2019-08-23 00:09:18 · 205 阅读 · 0 评论
分享