Skip to content

theSundayProgrammer/Knights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Knights on a Chess board

This is a C++ solution to the knights problem:

Given two positions, source and destination, on a blank chess board, list the sequence of legal moves a knight would have to move from source to destination.

This is essentially a problem of finding the shortest path between two nodes in a connected graph and is solved using breadth first search.

[See here] (http://thesundayprogrammer.com/2015/03/02/breadth-first-search/) for a more detailed explanation.

About

C++ solution to the knights problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages