Ayush7614 / Daily-Coding-DS-ALGO-Practice

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
https://daily-ds-algo.github.io/DS-Algo-Website/
MIT License
320 stars 475 forks source link

Want to Add Backtracking Solution to Queens Permutation & Combination problem. #218

Open sadikRizvi31 opened 3 years ago

sadikRizvi31 commented 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

Programming language

I want to Contribute my solution for this problem in java please assing this to me .

github-actions[bot] commented 3 years ago

Hi thanks for creating your first issue at Daily-Coding-DS-ALGO-Practice, hope you followed the guideline.

Amit366 commented 3 years ago

@sadikRizvi31 mention the programming language

sadikRizvi31 commented 3 years ago

Done @Amit366 sir. Please assing.