Open sadikRizvi31 opened 3 years ago
Permutation and Combination generator to solve the 1-D N queens problem.
Using Backtracking and Recursion.
Inputs : 4 2
Output : Permutation : Q0B0 Q1B1 Q0B0 Q1B2 Q0B0 Q1B3 Q0B1 Q1B0 Q0B1 Q1B2 Q0B1 Q1B3 Q0B2 Q1B0 Q0B2 Q1B1 Q0B2 Q1B3 Q0B3 Q1B0 Q0B3 Q1B1 Q0B3 Q1B2
Combination : Q0B0 Q1B1 Q0B0 Q1B2 Q0B0 Q1B3 Q0B1 Q1B2 Q0B1 Q1B3 Q0B2 Q1B3
I want to Contribute my solution for this problem in java please assing this to me .
Hi thanks for creating your first issue at Daily-Coding-DS-ALGO-Practice, hope you followed the guideline.
@sadikRizvi31 mention the programming language
Done @Amit366 sir. Please assing.
Permutation and Combination generator to solve the 1-D N queens problem.
Using Backtracking and Recursion.
Inputs : 4 2
Output : Permutation : Q0B0 Q1B1
Q0B0 Q1B2
Q0B0 Q1B3
Q0B1 Q1B0
Q0B1 Q1B2
Q0B1 Q1B3
Q0B2 Q1B0
Q0B2 Q1B1
Q0B2 Q1B3
Q0B3 Q1B0
Q0B3 Q1B1
Q0B3 Q1B2
Combination : Q0B0 Q1B1
Q0B0 Q1B2
Q0B0 Q1B3
Q0B1 Q1B2
Q0B1 Q1B3
Q0B2 Q1B3
Programming language
I want to Contribute my solution for this problem in java please assing this to me .