How to arrange N queens in O(N) time
How to efficiently solve the N Queens problem with a staircase pattern arrangement if you just need one solution.

How to efficiently solve the N Queens problem with a staircase pattern arrangement if you just need one solution.
A clever logarithmical solution for Leetcode Pens and Pencils problem