- 博客(8)
- 资源 (5)
- 收藏
- 关注
原创 15. 3Sum
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 zero.Note: Elements in a triplet (a,b,c) must be i
2016-05-21 21:41:01 116
原创 12. Integer to Roman
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999.class Solution {public: string intToRoman(int num) { string a[] = {"","I","II","
2016-05-21 10:50:06 109
原创 13. Roman to Integer
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.class Solution {public: int romanToInt(string s) { map<char, int> mp; mp
2016-05-21 10:49:14 103
原创 5. Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.class Solution {public:
2016-05-21 07:21:46 108
原创 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.Examples:Given “abcabcbb”, the answer is “abc”, which the length is 3.Given “bbbbb”, the answer is “b”, with the le
2016-05-21 07:19:13 99
原创 11.Container With Most Water
11.Container With Most WaterGiven n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i,
2016-05-21 07:13:41 114
原创 2.Add Two Numbers
2.Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and ret
2016-05-21 07:12:18 116
原创 1. Two Sum
1. Two SumGiven 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.Example: Given nums =
2016-05-21 07:07:40 116
Matlab7.0基础教程
2010-07-19
visual assist x 1804 for vs2010 含破解补丁
2010-03-23
Visual.Assist.X
2009-10-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人