22. Generate Parentheses Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n ...
分类:
Web程序 时间:
2019-02-16 13:33:56
阅读次数:
207
One small letter, surrounded by EXACTLY three big bodyguards on each of its sides. ...
分类:
编程语言 时间:
2019-02-15 23:52:47
阅读次数:
295
"传送门" 题意 已知字符串$s_n$=$s_{n 2}$+$s_{n 1}$,给你$s_1$和$s_2$的长度$n$,$m$,求能使$s_k$中恰好含有$x$个"$AC$"的$s_1$,$s_2$,如果无法实现输出"Happy new year!" 思路 在 $s_k$中能构成$AC$的方法有四种 ...
分类:
其他好文 时间:
2019-02-15 15:24:33
阅读次数:
170
"152. Combinations" / "77. Combinations" 本题难度: Medium Topic: Search & Recursion Description Given two integers n and k, return all possible combinatio ...
分类:
其他好文 时间:
2019-02-15 01:11:29
阅读次数:
181
数据源:融360 用户贷款风险预测 参考资料: "https://www.jianshu.com/p/aba5685c580a" 流程如下: 项目目标 数据解读 数据预处理 特征工程 1.基于业务理解筛选 2.基于机器学习筛选 模型建立 一、项目目标 通过举办方提供的用户基本信息,消费行为,还款情况 ...
分类:
编程语言 时间:
2019-02-13 20:52:20
阅读次数:
246
这次主要把循环结构的控制语句补上,主要包含while、for、continue、break、循环嵌套。主要写一些基本的认识以及包含的一些实例。当只有唯一路径且只跑一次的时候选择上一节中的选择结构语句就可以了,但是当执行一次或者重复循环执行时就需要另辟蹊径了,那就来认识一下这个蹊径吧。 一、while ...
分类:
编程语言 时间:
2019-02-09 10:26:08
阅读次数:
203
"1297. Palindrome" Time limit: 1.0 second Memory limit: 64 MB The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states tha ...
分类:
编程语言 时间:
2019-02-07 20:34:01
阅读次数:
144
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
分类:
其他好文 时间:
2019-02-07 09:12:45
阅读次数:
175
算法描述: Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X ...
分类:
其他好文 时间:
2019-02-05 22:12:46
阅读次数:
108
We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each string, we ...
分类:
其他好文 时间:
2019-02-04 18:09:31
阅读次数:
202