
递归
鸡蛋豆腐仙子
从本科开始讨厌了单片机 晶体管 编程 c++5-6年后,发现技术就是我的真爱,再重新选择一次,我还是会选择当程序员。我现在觉得自己什么都不会,可是还是相信会变成别人仰望的大神。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【刷题】Leetcode 10. Regular Expression Matching
‘.’ Matches any single character. ‘*’ Matches zero or more of the preceding element. Example 1: Input: s = “aa” p = “a” Output: false Explanation: “a” does not match the entire string “aa”. Example 2:...原创 2019-11-24 22:00:57 · 90 阅读 · 0 评论 -
【刷题】Leetcode 22. Generate Parentheses
For example, given n = 3, a solution set is: [ “((()))”, “(()())”, “(())()”, “()(())”, “()()()” ] 这道题cc上有,很老了。 class Solution { public List<String> generateParenthesis(int n) { List&...原创 2019-11-03 11:25:54 · 95 阅读 · 0 评论