![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
o j算法
文章平均质量分 61
aizaiee
呵呵呵呵呵呵呵
展开
-
算法习题篇之ReverseInteger
Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are dealing wit...原创 2018-10-11 09:23:43 · 180 阅读 · 0 评论 -
算法习题篇之 Roman to Integer
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C 100D ...原创 2018-10-12 09:03:34 · 178 阅读 · 0 评论 -
算法习题篇之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 an empty string "".Example 1:Input: ["flower","flow","flight"]Output:...原创 2018-10-14 00:31:57 · 248 阅读 · 0 评论 -
算法习题篇之Twosum
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 would have exactly one solution, and you may not use the same ...原创 2018-10-10 09:05:52 · 263 阅读 · 0 评论 -
算法习题篇之Palindrome
Determine 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: -121Output: falseExplana...原创 2018-10-10 10:45:05 · 433 阅读 · 0 评论