Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

👑 N-Queens Problem using Genetic Algorithm

This project solves the classic N-Queens puzzle using a genetic algorithm.

🧬 Genetic Representation

  • Chromosome: A list where each index is a row and the value is the column of the queen.

📏 Fitness Function

  • Counts the number of attacking queen pairs.