Skip to content

Instantly share code, notes, and snippets.

View afrasiyabhaider's full-sized avatar
:electron:
Focusing on Goal

Afrasiyab Haider afrasiyabhaider

:electron:
Focusing on Goal
View GitHub Profile
@afrasiyabhaider
afrasiyabhaider / NQueen.cpp
Created December 22, 2019 13:41 — forked from shahrajat/NQueen.cpp
Solving N Queen using Genetic Algorithm.
/*
Author : @Rajat Shah
Task: Solving N Queen using Genetic Algorithm.
Comments: Hard coded for 8x8 chess, can be modified for arbitrary size.
*/
#include<iostream>
#include<cmath>
#include<cstdlib>
#include<algorithm>