Land of Queens

Mohammed Zaheeruddin Malick
1 min readOct 12, 2019

--

In the land of chess, The Queen is literally the most powerful Human let alone a woman! but, what if the land is Amazonian, the land of wonder women!

Solution to the classic n-queens constraint satisfaction problem demonstrating backtracking, placing n queens on a chess board without conflicts, in Pythonic Art.

[(0, 0), (4, 1), (7, 2), (5, 3), (2, 4), (6, 5), (1, 6), (3, 7)]
Q : : : : : : :
: : : : : : Q :
: : : : Q : : :
: : : : : : : Q
: Q : : : : : :
: : : Q : : : :
: : : : : Q : :
: : Q : : : : :

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Mohammed Zaheeruddin Malick
Mohammed Zaheeruddin Malick

Written by Mohammed Zaheeruddin Malick

Tireless Learner | Geek | Father of two budding Women leaders!

No responses yet

Write a response