MCPcopy Index your code
hub / github.com/BeeBombshell/Python-DSA / N_queens.py

File N_queens.py

Backtracking/N_queens.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def n_queens(n):
2 res = []
3 board = [['.']*n for i in range(n)]
4 cols = set()

Callers

nothing calls this directly

Calls 1

n_queensFunction · 0.85

Tested by

no test coverage detected