About 81,500 results
Open links in new tab
  1. Permutations - LeetCode

    Permutations - Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.

  2. 46. Permutations - In-Depth Explanation - AlgoMonster

    In-depth solution and explanation for LeetCode 46. Permutations in Python, Java, C++ and more. Intuitions, example walk through, and complexity analysis. Better than official and forum solutions.

  3. 46. Permutations - LeetCode Wiki

    Description Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.

  4. 46. Permutations - LeetCode Solutions

    LeetCode Solutions in C++23, Java, Python, MySQL, and TypeScript.

  5. Permutations - Leetcode Solution

    The “Permutations” problem is a cornerstone in learning backtracking, recursion, and combinatorics. It demonstrates how recursive decision trees can be used to explore all possible arrangements and is …

  6. Permutations - Leetcode Solution - CodingBroz

    Note: This problem 46. Permutations is generated by Leetcode but the solution is provided by CodingBroz. This tutorial is only for Educational and Learning purpose.

  7. LeetCode 46. Permutations: Solution Explained - DEV Community

    May 6, 2023 · LeetCode 46 - Permutations - problem is a great example to learn recursive/backtracking approach. We briefly went through the theoretical basis and applied the same logic to this problem.

  8. Count the Number of Computer Unlocking Permutations - LeetCode

    2 days ago · Find the number of permutations of [0, 1, 2, ..., (n - 1)] that represent a valid order in which the computers can be unlocked, starting from computer 0 as the only initially unlocked one. Since the …

  9. LeetCode Solutions Blog

    Once the current permutation matches the length of the input array, it is added to the result list. Then, by "backtracking" (removing the last number added), the algorithm explores alternative possibilities. …

  10. Permutations — LeetCode. Problem 52: Permutations | by Lim

    Sep 25, 2024 · Permutations — LeetCode Problem 52: Permutations Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.