摘要:
一、问题描述 Description: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Retu... 阅读全文
posted @ 2015-05-19 21:11
神奕
阅读(131)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: 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 ... 阅读全文
posted @ 2015-05-19 20:03
神奕
阅读(168)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Write a function to find the longest common prefix string amongst an array of strings.给定一组字符串,写一个函数找出它们的最长公共前缀。二、解题报告... 阅读全文
posted @ 2015-05-19 14:10
神奕
阅读(116)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.给定一个字符串表... 阅读全文
posted @ 2015-05-19 12:20
神奕
阅读(147)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999.将一个整数用罗马... 阅读全文
posted @ 2015-05-19 11:46
神奕
阅读(151)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Given n non-negative integers a1,a2,...,an, where each represents a point at coordinate (i,ai). n vertical lines are ... 阅读全文
posted @ 2015-05-19 10:00
神奕
阅读(160)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matche... 阅读全文
posted @ 2015-05-19 01:15
神奕
阅读(164)
评论(0)
推荐(0)
浙公网安备 33010602011771号