摘要: 仅供自己学习 题目: Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where th 阅读全文
posted @ 2021-01-28 16:55 Mrsdwang 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 仅供自己学习 题目: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3Output: ["(( 阅读全文
posted @ 2021-01-28 11:33 Mrsdwang 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 仅供自己学习 题目: Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where 阅读全文
posted @ 2021-01-28 10:48 Mrsdwang 阅读(51) 评论(0) 推荐(0) 编辑