摘要:
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of 阅读全文
posted @ 2017-03-03 21:48
DevinGu
阅读(392)
评论(0)
推荐(0)
摘要:
最长公共前缀:Write a function to find the longest common prefix string amongst an array of strings. Solution : class Solution {public: string longestCommonP 阅读全文
posted @ 2017-03-03 18:26
DevinGu
阅读(236)
评论(0)
推荐(0)
摘要:
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. Solution: class Solution {public: int roma 阅读全文
posted @ 2017-03-03 16:25
DevinGu
阅读(242)
评论(0)
推荐(0)
摘要:
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. Solution: 以3999,为例: class Solution {public 阅读全文
posted @ 2017-03-03 11:26
DevinGu
阅读(271)
评论(0)
推荐(0)

浙公网安备 33010602011771号