2021年3月12日

摘要: 地址 https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words/ 给定一个字符串 s 和一些长度相同的单词 words。找出 s 中恰好可以由 words 中所有单词串联形成的子串的起始位置。 注意子串要与  阅读全文
posted @ 2021-03-12 17:51 itdef 阅读(110) 评论(0) 推荐(0)
摘要: 地址 https://leetcode-cn.com/problems/generate-parentheses/ 数字 n 代表生成括号的对数,请你设计一个函数,用于能够生成所有可能的并且 有效的 括号组合。 示例 1: 输入:n = 3 输出:["((()))","(()())","(())() 阅读全文
posted @ 2021-03-12 10:10 itdef 阅读(227) 评论(0) 推荐(0)

导航