首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏皮皮星球

    Backtracking - 47. Permutations II

    Given a collection of numbers that might contain duplicates, return all possible unique permutations.

    46710发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 77. Combinations

    Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.

    56120发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 78. Subsets

    Given a set of distinct integers, nums, return all possible subsets (the power set).

    33320发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 46. Permutations

    46. Permutations Given a collection of distinct integers, return all possible permutations.

    31610发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 60. Permutation Sequence

    The set [1,2,3,...,_n_] contains a total of n! unique permutations.

    42110发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 39. Combination Sum

    Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target.

    48220发布于 2020-09-23
  • 来自专栏mwangblog

    The asynchronous backtracking algorithm (ABT) 算法

    Asynchronous backtracking (ABT) 算法假设所有智能体(agent)都有各自的优先级(priority)。

    92820发布于 2020-02-11
  • 来自专栏皮皮星球

    Backtracking - 90. Subsets II

    Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set).

    34910发布于 2020-09-23
  • 来自专栏冰霜之地

    LeetCode 分类刷题—— Backtracking

    Backtracking 的 Tips: 排列问题 Permutations。第 46 题,第 47 题。第 60 题,第 526 题,第 996 题。 组合问题 Combination。

    70420发布于 2019-07-09
  • 来自专栏皮皮星球

    Backtracking - 216. Combination Sum III

    Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.

    23220发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 40. Combination Sum II

    Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target.

    39420发布于 2020-09-23
  • 来自专栏数据结构和算法

    Python高级算法——回溯法(Backtracking

    Python中的回溯法(Backtracking):高级算法解析 回溯法是一种通过尝试所有可能的解来找到问题解的算法设计方法。它通常应用于组合问题、排列问题、子集问题等。

    1.1K10编辑于 2023-12-12
  • 来自专栏皮皮星球

    Backtracking - 93. Restore IP Addresses

    Given a string containing only digits, restore it by returning all possible valid IP address combinations.

    42520发布于 2020-09-23
  • 来自专栏皮皮星球

    Backtracking - 17. Letter Combinations of a Phone Number

    17. Letter Combinations of a Phone Number

    28510发布于 2020-09-23
  • 来自专栏魔法书

    【数据结构与算法】Backtracking Algorithm

    1) 入门例子 public class Backtracking { public static void main(String[] args) { rec(1, new LinkedList

    18810编辑于 2024-10-10
  • 来自专栏Michael阿明学习之路

    回溯算法(Backtracking Algorithm)之八皇后问题

    有一个8×8的棋盘,希望往里放8个棋子(皇后),每个棋子所在的行、列、对角线都不能有另一个棋子。请找到所有满足这种要求的放棋子方式。

    96510发布于 2021-02-20
  • 来自专栏mwangblog

    使用ABT(The asynchronous backtracking algorithm)算法求解四皇后问题

    将4个皇后放入4×4的棋盘中,修改4个皇后的位置,使他们不能“立即”攻击对方。这里我们假设4个皇后被放置在不同的行中,仅能修改4个皇后的列的位置。

    1K10发布于 2020-02-11
  • 来自专栏机器人课程与技术

    一种完全覆盖算法-Backtracking Spiral Algorithm (BSA) 回溯螺旋算法

    BSA:一种完全覆盖算法 Enrique González, Oscar Álvarez, Yul Díaz, Carlos Parra, Cesar Bustacara Abstract – The Backtracking BSA completeness is guaranteed by the backtracking mechanism included in the algorithm. Backtracking points (BP) are detected and stored during the execution of a normal spiral path. The backtracking mechanism performs an exhaustive deep-first search, in consequence it guarantees the Alarcón, “Backtracking Spiral Algorithm: A Mobile Robot Region Filling Strategy” Proc.

    1.3K20编辑于 2022-10-28
  • 来自专栏程序猿声

    【算法】用回溯法(backtracking algorithm)求解N皇后问题(N-Queens puzzle)

    回溯算法(backtracking algorithm) N皇后问题其实就是回溯算法中的一个典型应用。为此,在这里先介绍一下回溯算法。

    11.4K10发布于 2019-05-13
  • 来自专栏程序猿声

    【算法进阶】用回溯法(backtracking algorithm)求解N皇后问题(N-Queens puzzle)

    哎……不知道嘛?没关系,让小编慢慢道来。说到这个N-皇后问题,就不得不先提一下这个历史上著名的8皇后问题啦。

    6.5K20发布于 2019-05-14
领券