Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not conta ...
分类:
其他好文 时间:
2019-04-11 10:41:08
阅读次数:
141
思路 简单题,用栈,队列,优先队列直接模拟即可 代码 cpp include include include include include using namespace std; queue q; stack S; priority_queue pq; int n; int main(){ wh ...
分类:
其他好文 时间:
2019-04-10 09:13:05
阅读次数:
136
报错信息如下:Gradle DSL method not found: 'google()'Possible causes:<ul><li>The project 'JustTest' may be using a version of the Android Gradle plug-in that ...
分类:
其他好文 时间:
2019-04-06 18:55:47
阅读次数:
245
安装 基本使用 定义一个dom 定义对象 获得echarts对象 多折线图生成 示例代码 "示例代码" 参考资料 "Is it possible to use ECharts Baidu with Angular 2 and TypeScript" "Ionic2系列——在Ionic2中使用ECha ...
分类:
其他好文 时间:
2019-04-06 17:07:06
阅读次数:
231
Anniversary party Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20516 Accepted Submission(s): 7 ...
分类:
其他好文 时间:
2019-04-03 22:25:14
阅读次数:
182
Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Exampl ...
分类:
其他好文 时间:
2019-04-02 21:02:57
阅读次数:
152
1.正则表达式大全 https://www.cnblogs.com/xudong-bupt/p/3586889.html 2.贪婪匹配 是否需要贪婪匹配在写正则表达式时是很重要的一个概念。'?'只有在上面三种表达时才表示非贪婪匹配,其他时候都是表示0个或1个字符。贪婪匹配简单来说就是匹配尽可能多符合 ...
分类:
其他好文 时间:
2019-03-25 23:28:21
阅读次数:
170
```cpp include using namespace std; enum Atom_type{NUMBER=1,LETTER=2,OPERATOR=3}; const int MAX_PARA=20; int sign[128],prio[128],n_para; vector para_l ...
分类:
其他好文 时间:
2019-03-23 13:03:45
阅读次数:
118
https://leetcode.com/problems/all-possible-full-binary-trees/ 给定节点个数,求所有可能二叉树,该二叉树所有节点要么有0个子节点要么有两个子节点。返回所有二叉树的头指针。 一开始一直想的是从根节点开始建树,一直想不出来方法。后来想到可以从子 ...
分类:
其他好文 时间:
2019-03-23 10:38:04
阅读次数:
129
77. Combinations Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: ...
分类:
其他好文 时间:
2019-03-20 22:11:09
阅读次数:
140