technojam / Ultimate_Algorithms_Repository

This is a collection of Data Structures and Algorithms
83 stars 166 forks source link

[NEW Algorithm] N-Queen problem #193

Closed sarveshvhawal007 closed 4 years ago

sarveshvhawal007 commented 4 years ago

BackTracking Algorithm

Describe the algorithm When Given a number n as input It outputs the number of ways of arranging queens in that NxN chessboard such that no two queens can kill each other.

for eg: n=4 there are two possible ways which are outputted like this-

.Q.. ...Q Q... ..Q.

..Q. Q... ...Q .Q..

Can I work on this problem

sarveshvhawal007 commented 4 years ago

Please Assign it to me... I have pulled the request and made the necessary changes

sumitk63 commented 4 years ago

Can i work on this?

Capt-Titanium commented 4 years ago

I can send a PR now. please assign.

chiillax commented 4 years ago

Could you please assign me for this task ?