随笔分类 - 回溯
摘要:N Queens 系列题解 题目来源: "N Queens" "N Queens II" N Queens The n queens puzzle is the problem of placing n queens on an n×n chessboard such that no two que
阅读全文
摘要:Combinations 题解 题目来源:https://leetcode.com/problems/combinations/description/ Description Given two integers n and k, return all possible combinations
阅读全文
摘要:Combination Sum 系列题解 题目来源:https://leetcode.com/problems/combination sum/description/ Description Given a set of candidate numbers ( C ) (without dupli
阅读全文
摘要:Permutations 题解 题目来源:https://leetcode.com/problems/permutations/description/ Description Given a collection of distinct numbers, return all possible p
阅读全文
摘要:Letter Combinations of a Phone Number 题解 题目来源:https://leetcode.com/problems/letter combinations of a phone number/description/ Description Given a dig
阅读全文
摘要:Generate Parentheses 题解 题目来源:https://leetcode.com/problems/generate parentheses/description/ Description Given n pairs of parentheses, write a functio
阅读全文
摘要:Palindrome Partitioning 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/palindrome partitioning/description/ Description Given a string s, partition s
阅读全文

浙公网安备 33010602011771号