上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: 一、问题描述 Description: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all uni... 阅读全文
posted @ 2015-05-20 12:49 songlee 阅读(135) 评论(0) 推荐(0)
摘要: 一、问题描述 Description: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit ... 阅读全文
posted @ 2015-05-20 11:25 songlee 阅读(157) 评论(0) 推荐(0)
摘要: 一、问题描述 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)
摘要: 一、问题描述 Description: Design a data structure that supports the following two operations: void addWord(word)bool search(word) search(... 阅读全文
posted @ 2015-05-16 10:12 songlee 阅读(130) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页