EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic
View
More
Topic
Hashing
Linked List
Queue
Stack
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Tree
Topic: backtracking-problem / Level: intermediate
1002. Solve the N-Queens problem for an 8x8 chessboard, ensuring no two queens threaten each other in any solution.
1003. Generate all possible permutations of a string of length n, including duplicates in the input characters.
1004. Find all combinations of k elements from a given array of n elements without repetition.
1005. Generate all valid combinations of parentheses for n pairs of parentheses, ensuring each combination is balanced.
1006. Solve the Sudoku problem for a 9x9 grid by finding all valid arrangements of numbers from 1 to 9.
1007. Print all unique subsets of an array that may contain duplicate elements, ensuring no duplicate subsets are returned.
1008. Find all unique palindromic substrings in a given string, with each substring counted only once.
1009. Solve the "Word Search II" problem by finding all words in a grid that are present in a given dictionary.
1010. Generate all possible ways to color a graph with k colors such that no two adjacent vertices share the same color.
1011. Solve the "Combination Sum" problem by finding all unique combinations of numbers that sum to a target value.
1012. Print all valid configurations of a binary tree based on specific node values given in a level-order format.
1013. Find all ways to partition a string into substrings where each substring is a palindrome.
1014. Generate all distinct combinations of coins that sum to a specific target value, allowing for each coin to be reused.
1015. Solve the "Knights Tour" problem on an 8x8 chessboard, finding all valid sequences of moves for the knight.
1016. Find all unique combinations of integers that can be combined to form a target number, ensuring no duplicates are present.
1017. Print all valid sequences of operations that can be performed on an array of numbers to reach a target value.
1018. Generate all unique combinations of k items from a list of n items, allowing for duplicate selections.
1019. Solve the "Subset Sum" problem for a given set of integers, finding all subsets that sum up to a specific target.
1020. Find all valid arrangements of 8 rooks on a chessboard such that no two rooks can attack each other.
1021. Generate all possible combinations of tasks that can be scheduled given their start and end times.
1022. Solve the "Hamiltonian Cycle" problem for a graph, determining all valid cycles that visit each vertex exactly once.
1023. Find all unique ways to arrange k items from a set of n items, allowing for some items to be repeated.
1024. Print all valid sequences of moves for a pawn in chess based on given starting and ending positions.
1025. Generate all distinct arrangements of a list of words that can be formed into valid sentences.
1026. Solve the "Tug of War" problem by finding valid partitions of a set that minimize the difference in sums.
1027. Find all possible combinations of items from a menu that can be selected to reach a specific budget.
1028. Print all valid configurations for a magic square of order n, ensuring all rows, columns, and diagonals sum to the same value.
1029. Generate all valid sequences of moves for a knight on a chessboard with specified restrictions.
1030. Solve the "Crossword Puzzle" problem by filling in a grid based on given words and conditions.
1031. Find all unique ways to allocate tasks among workers based on their skills and preferences.
1032. Print all valid paths from the top-left corner to the bottom-right corner of a grid, avoiding blocked cells.
1033. Generate all possible combinations of items that can be packed into a knapsack given weight constraints.
1034. Solve the "Maximum Subarray" problem by finding the contiguous subarray with the largest sum in an array.
1035. Find all unique arrangements of elements in a multiset based on their counts in the input.
1036. Print all valid arrangements of people in a circle based on friendship constraints.
1037. Generate all valid configurations of a team lineup based on player availability and performance.
1038. Solve the "Subset Sum" problem where you must find all subsets of numbers that equal a target sum.
1039. Find all possible sequences of moves in a board game while adhering to specific rules and restrictions.
1040. Print all valid configurations of a puzzle board based on given constraints.
1041. Generate all distinct ways to arrange n different colors in a pattern based on provided rules.
1042. Solve the "Meeting Rooms II" problem by finding the minimum number of meeting rooms required.
1043. Find all unique paths in a directed acyclic graph (DAG) from a given start node to an end node.
1044. Print all valid combinations of digits that can be formed from a number while maintaining uniqueness.
1045. Generate all possible ways to arrange k books on a shelf from a collection of n books.
1046. Solve the "Edit Distance" problem by finding the minimum number of operations required to convert one string into another.
1047. Find all valid configurations of a board game where players must adhere to specific movement rules.
1048. Print all unique combinations of scores that can be achieved in a game based on different scenarios.
1049. Generate all valid sequences of moves in a chess game where players alternate turns and follow specific rules.
1050. Solve the "Combination Lock" problem by determining all valid combinations to unlock a device.
1051. Find all unique arrangements of fruit in a basket where some fruits are identical and others are distinct.
Previous
1
2
...
20
Next
More Levels
Beginner
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram