摘要:
一、问题描述 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
songlee
阅读(133)
评论(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
songlee
阅读(170)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Write a function to find the longest common prefix string amongst an array of strings.给定一组字符串,写一个函数找出它们的最长公共前缀。二、解题报告... 阅读全文
posted @ 2015-05-19 14:10
songlee
阅读(118)
评论(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
songlee
阅读(149)
评论(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
songlee
阅读(153)
评论(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
songlee
阅读(163)
评论(0)
推荐(0)
摘要:
一、问题描述 Description: Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matche... 阅读全文
posted @ 2015-05-19 01:15
songlee
阅读(165)
评论(0)
推荐(0)

浙公网安备 33010602011771号