annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

N Queens (Backtracking)

 

My solution to the N Queens Problem (with Backtracking)

 

(N_QUEENS_MAIN.vi)

 

 

Snippet_N_Queens.png

 

Message 1 sur 9
4 463 Visites

Hello ouadji,

 

Is there something we can help/assist you with?

Or did you just felt like sharing the code? 🙂

Is it related to a coding challenge that I'm not aware of?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Compliments
Message 2 sur 9
4 428 Visites

Is there something we can help/assist you with?

no, thank you.

 

Or did you just felt like sharing the code?

yes, just to show what I did. Smiley heureux

 

Is it related to a coding challenge that I'm not aware of?

no, I did this just for fun

0 Compliments
Message 3 sur 9
4 420 Visites

Could you provide a description of what your code does and waht N Queens (Backtracking) means?

0 Compliments
Message 4 sur 9
4 410 Visites

From here:

 

http://www.roard.com/docs/cookbook/cbsu6.html

 

"The n-queens problem consists in placing n non-attacking queens on an n-by-n chess board. A queen can attack another queen vertically, horizontally, or diagonally. E.g. placing a queen on a central square of the board blocks the row and column where it is placed, as well as the two diagonals (rising and falling) at whose intersection the queen was placed."

Message 5 sur 9
4 406 Visites

Hehe 🙂

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Compliments
Message 6 sur 9
4 377 Visites

Thank you for(imstuck)

 

because my english is not very good.

This would not have been easy for me to explain it.

 

soon, a sudoku solver Smiley heureux

0 Compliments
Message 7 sur 9
4 361 Visites

@ouadji wrote:

Thank you for(imstuck)

 

because my english is not very good.

This would not have been easy for me to explain it.

 

soon, a sudoku solver Smiley heureux


 

Hi Ouadji,

 

On this forum "Thank you" is best expressed in Kudos (that star under the avatar). They can only be earned and are welcome by most. No translation required.

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Compliments
Message 8 sur 9
4 355 Visites

ok Ben, understood  Smiley tirant la langue

Message 9 sur 9
4 325 Visites