自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 LeetCode#31. Next Permutation

题目: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the lowest p

2017-10-28 11:34:03 170

原创 Leetcode#49. Group Anagrams

题目:Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"],  Return: Note: All inputs will be in lower-case. 题意:对字符串集进行分类的一

2017-10-27 20:52:44 164

原创 LeetCode#22. Generate Parentheses

题目: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ "((()))", "(()())", "(())(

2017-10-21 00:06:28 161

原创 Leetcode#17. Letter Combinations of a Phone Number

题意 题目解析: 一道字符串匹配的问题,就是模拟平常用九宫格手机短信的时候,输入为一串数字,然后找出每个数字对应的所有可能,算法如下: 申请vecotr result,用来存放最终结果。申请vector tmp用来存放临时结果,输入为一串数字digits 1.第一步因result是空的,将digits[0]所具有的所有字符分别成串放进result中 2.第二部对每个result中的结

2017-10-19 10:39:46 173

原创 Leetcode#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: The solution set must not

2017-10-16 21:13:28 137

原创 LeetCode#43. Multiply Strings

题目: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: The length of both num1 and num2 is Both num1 and num2 contains on

2017-10-15 19:10:49 173

原创 LeetCode#11. Container With Most Water

题意:Given 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, ai) and (i

2017-10-09 11:11:38 163

原创 LeetCode#46 Permutation

题意: Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the following permutations: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2],

2017-10-09 10:10:23 274

离散数学结构第三版中文版教材

离散数学结构第三版中文教材,广大学校的推荐教材,内含丰富的图片和解释。

2017-10-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除