Table of Contents

N-Queens Problem

A classic problem where the algorithm tries to place N queens on an N×N chessboard so that no two queens threaten each other.

Category: backtrack
Loading...

Enjoy reading code with a tandem explainer?

Explain code with DocComment! Try out your own code!

Try DocComment